test support of group having multiple .cpp files
[libt2n] / example-codegen / other-2.cpp
diff --git a/example-codegen/other-2.cpp b/example-codegen/other-2.cpp
new file mode 100644 (file)
index 0000000..05ccc4b
--- /dev/null
@@ -0,0 +1,21 @@
+#include <string>
+// serialization of string
+#include <boost/serialization/string.hpp>
+// serialization of pair
+#include <boost/serialization/utility.hpp>
+
+// std::vector
+#include <vector>
+#include <boost/serialization/vector.hpp>
+
+#include "foo.hxx"
+
+#include "other_common.hxx"
+
+using namespace std;
+
+//! test own type
+LIBT2N_EXPORT bool t3(const Foo &foo)
+{
+    return (foo.i==foo.j);
+}