tcppCompileToNamespace.nim 259 B

123456789101112
  1. discard """
  2. cmd: "nim cpp --cppCompileToNamespace:foo $options -r $file"
  3. """
  4. # Theoretically nim could just ignore the flag cppCompileToNamespace
  5. # and this test would pass. Setting ``ccodeCheck`` for a c++ target
  6. # doesn't work.
  7. import os
  8. echo "a" / "b"