1234567891011121314151617181920212223 |
- # basic tests for use
- # bug #58
- proc someOtherProc() =
- discard
- someOtherProc()
- proc #[!]#someProc*() =
- discard
- #[!]#someProc()
- discard """
- $nimsuggest --tester $file
- >use $1
- def;;skProc;;tuse.someProc;;proc (){.noSideEffect, gcsafe.};;$file;;9;;5;;"";;100
- use;;skProc;;tuse.someProc;;proc (){.noSideEffect, gcsafe.};;$file;;12;;0;;"";;100
- >use $2
- def;;skProc;;tuse.someProc;;proc (){.noSideEffect, gcsafe.};;$file;;9;;5;;"";;100
- use;;skProc;;tuse.someProc;;proc (){.noSideEffect, gcsafe.};;$file;;12;;0;;"";;100
- """
|