diff options
Diffstat (limited to 'tests/js/testmagic.nim')
-rw-r--r-- | tests/js/testmagic.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/js/testmagic.nim b/tests/js/testmagic.nim new file mode 100644 index 000000000..2c02d24be --- /dev/null +++ b/tests/js/testmagic.nim @@ -0,0 +1,10 @@ +discard """ + cmd: "nimrod js --hints:on -r $# $#" + output: '''true''' +""" + +# This file tests some magic + +var foo = cstring("foo") +var bar = cstring("foo") +echo(foo == bar) |