&& ( cc.testfunc("hello") == "hello, testfunc() was here" )
&& ( cc.testfunc_ref("hello") == "hello, testfunc() was here" )
&& ( cc.t2(10) == 10 )
- && ( cc_other.t3(10, 20, "hello", std::pair<int, float>(10,20)) ) )
+ && ( cc_other.t3(10, 20, "hello", std::pair<int, float>(10,20)) )
+ && ( cc_other.t3(10) == 10 ) )
? EXIT_SUCCESS : EXIT_FAILURE;
}
#include <string>
#include "codegen_common.hxx"
-LIBT2N_SET_DEFAULTGROUP(example);
+LIBT2N_SET_DEFAULTGROUP(default);
LIBT2N_EXPORT std::string testfunc(std::string str)
{
{
return (i==p.first) && (f==p.second) && (s=="hello");
}
+
+LIBT2N_EXPORT_GROUP(other) int t3(int i)
+{
+ return i;
+}