diff options
Diffstat (limited to 'tests/compile/tredef.nim')
-rw-r--r-- | tests/compile/tredef.nim | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/compile/tredef.nim b/tests/compile/tredef.nim deleted file mode 100644 index 02d1f7776..000000000 --- a/tests/compile/tredef.nim +++ /dev/null @@ -1,29 +0,0 @@ -template foo(a: int, b: string) = nil -foo(1, "test") - -proc bar(a: int, b: string) = nil -bar(1, "test") - -template foo(a: int, b: string) = bar(a, b) -foo(1, "test") - -block: - proc bar(a: int, b: string) = nil - template foo(a: int, b: string) = nil - foo(1, "test") - bar(1, "test") - -proc baz = - proc foo(a: int, b: string) = nil - proc foo(b: string) = - template bar(a: int, b: string) = nil - bar(1, "test") - - foo("test") - - block: - proc foo(b: string) = nil - foo("test") - foo(1, "test") - -baz() |