diff options
Diffstat (limited to 'tests/compiler/tcppCompileToNamespace.nim')
-rw-r--r-- | tests/compiler/tcppCompileToNamespace.nim | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/compiler/tcppCompileToNamespace.nim b/tests/compiler/tcppCompileToNamespace.nim new file mode 100644 index 000000000..4e895c38b --- /dev/null +++ b/tests/compiler/tcppCompileToNamespace.nim @@ -0,0 +1,11 @@ +discard """ +cmd: "nim cpp --cppCompileToNamespace:foo $options -r $file" +""" + +# Theoretically nim could just ignore the flag cppCompileToNamespace +# and this test would pass. Setting ``ccodeCheck`` for a c++ target +# doesn't work. + +import os + +echo "a" / "b" |