parent
6fc74cec55
commit
55cf971adf
2 changed files with 14 additions and 3 deletions
12
tests/compiler/tcppCompileToNamespace.nim
Normal file
12
tests/compiler/tcppCompileToNamespace.nim
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
discard """
|
||||
cmd: "nim cpp --cppCompileToNamespace:foo $options -r $file"
|
||||
target: cpp
|
||||
"""
|
||||
|
||||
# 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue