add syntax cIncludeDir "$projpath/include"; do not use recursive search paths; add test tests/tnimterop_cpp.nim
This commit is contained in:
parent
fb053dd81e
commit
d00aeeafdd
6 changed files with 99 additions and 15 deletions
8
tests/include/test2.cpp
Normal file
8
tests/include/test2.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include "test2.hpp"
|
||||
|
||||
// BUG: should complain
|
||||
// # include test2.h
|
||||
|
||||
int test_call_int() {
|
||||
return 5;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue