summary refs log tree commit diff stats
path: root/tests/compile/tglobalforvar.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/tglobalforvar.nim')
-rw-r--r--tests/compile/tglobalforvar.nim7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/compile/tglobalforvar.nim b/tests/compile/tglobalforvar.nim
deleted file mode 100644
index af75df5c8..000000000
--- a/tests/compile/tglobalforvar.nim
+++ /dev/null
@@ -1,7 +0,0 @@
-
-var funcs: seq[proc (): int {.nimcall.}] = @[]
-for i in 0..10:
-  funcs.add((proc (): int = return i * i))
-
-echo(funcs[3]())
-