Nim/tests/js/testmagic.nim
Simon Hafner becd55dced moved eqproc to the correct magic position
also added mEqCString to evalOps so the test runs
2013-09-26 15:05:00 -05:00

10 lines
178 B
Nim

discard """
cmd: "nimrod js --hints:on -r $# $#"
output: '''true'''
"""
# This file tests some magic
const foo = cstring("foo")
const bar = cstring("foo")
echo(foo == bar)