tcppCompileToNamespace.nim 271 B

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