Files
Nim/tests/newconfig/tfoo.nim
Andreas Rumpf 242fb3240f fixes #5228
2017-03-18 13:59:35 +01:00

14 lines
265 B
Nim

discard """
cmd: "nim default $file"
output: '''hello world! 0.5'''
msg: '''[NimScript] exec: gcc -v'''
"""
when not defined(definedefine):
{.fatal: "wrong nim script configuration".}
import math, mfriends
discard gen[int]()
echo "hello world! ", ln 2.0