add syntax cIncludeDir "$projpath/include"; do not use recursive search paths; add test tests/tnimterop_cpp.nim

This commit is contained in:
Timothee Cour 2018-11-27 18:06:17 -05:00
commit d00aeeafdd
6 changed files with 99 additions and 15 deletions

8
tests/include/test2.cpp Normal file
View file

@ -0,0 +1,8 @@
#include "test2.hpp"
// BUG: should complain
// # include test2.h
int test_call_int() {
return 5;
}