Files
Nim/tests/compiler/tcppCompileToNamespace.nim
Timothee Cour 7e1ae35195 testament: error instead of silently ignore invalid targets; remove pointless alias target vs targets; document matrix; DRY (#16343)
* testament: error instead of silently ignore invalid targets
* s/target/targets/
* fix test; refs #16344
* address comments
* Update testament/specs.nim

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
2020-12-14 10:58:29 +01:00

12 lines
259 B
Nim

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"