From d00aeeafdd54134ff294dc4459a6b8cbaa560f8d Mon Sep 17 00:00:00 2001 From: Timothee Cour Date: Tue, 27 Nov 2018 18:06:17 -0500 Subject: add syntax cIncludeDir "$projpath/include"; do not use recursive search paths; add test tests/tnimterop_cpp.nim --- tests/include/test2.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/include/test2.hpp (limited to 'tests/include/test2.hpp') diff --git a/tests/include/test2.hpp b/tests/include/test2.hpp new file mode 100644 index 0000000..1ba9a8d --- /dev/null +++ b/tests/include/test2.hpp @@ -0,0 +1,20 @@ +#define TEST_INT 512 + +int test_call_int(); + +struct Foo{ + int bar; +}; + +class Foo1{ + int bar1; +}; + +template +struct Foo2{ + int bar2; +}; + +typedef Foo2 Foo2_int; + + -- cgit v1.2.3