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