aboutsummaryrefslogtreecommitdiff
path: root/tests/include/test2.hpp
diff options
context:
space:
mode:
authorgenotrance <dev@genotrance.com>2018-11-27 17:55:36 -0600
committerGitHub <noreply@github.com>2018-11-27 17:55:36 -0600
commit7aed05b4a83082cd83e652caf09f581d6cff1732 (patch)
treedeb7378460ccf5b2802ed790fccee92fdec49dc2 /tests/include/test2.hpp
parentfb053dd81eca9a45a813a7d7b0de868c28203976 (diff)
parentc1ea14c0d3c80e401aabeb2d99431d41c4347fe1 (diff)
downloadnimterop-7aed05b4a83082cd83e652caf09f581d6cff1732.tar.gz
nimterop-7aed05b4a83082cd83e652caf09f581d6cff1732.zip
Merge pull request #14 from timotheecour/pr_tnimterop_cpp
misc changes
Diffstat (limited to 'tests/include/test2.hpp')
-rw-r--r--tests/include/test2.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/include/test2.hpp b/tests/include/test2.hpp
new file mode 100644
index 0000000..0fd90ee
--- /dev/null
+++ b/tests/include/test2.hpp
@@ -0,0 +1,24 @@
+#include <stdint.h>
+
+#define TEST_INT 512
+#define TEST_FLOAT 5.12
+#define TEST_HEX 0x512
+
+int test_call_int();
+
+struct Foo{
+ int bar;
+};
+
+class Foo1{
+ int bar1;
+};
+
+template<typename T>
+struct Foo2{
+ int bar2;
+};
+
+typedef Foo2<int> Foo2_int;
+
+