2 #include "default_common.hxx"
5 LIBT2N_EXPORT std::string testfunc(std::string str)
9 throw libt2n::t2n_runtime_error("throw me around");
11 ret.insert(0,100*1024,'x');
13 ret=str+", testfunc() was here";
17 //! test pass by const reference
18 LIBT2N_EXPORT std::string testfunc_ref(const std::string &str)
22 throw libt2n::t2n_runtime_error("throw me around");
24 ret.insert(0,100*1024,'x');
26 ret=str+", testfunc() was here";
31 LIBT2N_EXPORT int t2(int i)