summary refs log tree commit diff stats
path: root/tests/compiler/tcppCompileToNamespace.nim
blob: 1d0977236434bba2aeeb431304ef786db613565c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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"