summary refs log tree commit diff stats
path: root/tests/compile/tnestedproc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compile/tnestedproc.nim')
-rw-r--r--tests/compile/tnestedproc.nim12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/compile/tnestedproc.nim b/tests/compile/tnestedproc.nim
deleted file mode 100644
index 49ec6f9a7..000000000
--- a/tests/compile/tnestedproc.nim
+++ /dev/null
@@ -1,12 +0,0 @@
-discard """
-  output: "11"
-"""
-
-proc p(x, y: int): int = 
-  result = x + y
-
-echo p((proc (): int = 
-          var x = 7
-          return x)(),
-       (proc (): int = return 4)())
-