mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
13 lines
271 B
Nim
13 lines
271 B
Nim
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"
|