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