summary refs log blame commit diff stats
path: root/tests/newconfig/tfoo.nim
blob: 52ea841ee7f3f6d573730b378594a03ace8e01af (plain) (tree)
1
2
3
4
5
6
7
8
9

                          
                                


                                     


                                             
                     
 
                  
                            
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