mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-28 02:03:59 +00:00
new tester; all tests categorized
This commit is contained in:
5
tests/defaultprocparam/mdefaultprocparam.nim
Normal file
5
tests/defaultprocparam/mdefaultprocparam.nim
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
proc p*(f = (proc(): string = "hi")) =
|
||||
echo f()
|
||||
|
||||
4
tests/defaultprocparam/tdefaultprocparam.nim
Normal file
4
tests/defaultprocparam/tdefaultprocparam.nim
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
import mdefaultprocparam
|
||||
|
||||
p()
|
||||
Reference in New Issue
Block a user