1 #include "default_common.hxx"
4 LIBT2N_EXPORT std::string testfunc(std::string str)
8 throw libt2n::t2n_runtime_error("throw me around");
10 ret.insert(0,100*1024,'x');
12 ret=str+", testfunc() was here";
16 //! test pass by const reference
17 LIBT2N_EXPORT std::string testfunc_ref(const std::string &str)
21 throw libt2n::t2n_runtime_error("throw me around");
23 ret.insert(0,100*1024,'x');
25 ret=str+", testfunc() was here";
30 LIBT2N_EXPORT int t2(int i)