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

                          
                                
                                        

   


                                             
                     
 
                  
                            
discard """
  cmd: "nim default $file"
  output: '''hello world! 0.5'''
  nimout: '''[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