summary refs log tree commit diff stats
path: root/tests/closure/tnestedproc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/closure/tnestedproc.nim')
-rw-r--r--tests/closure/tnestedproc.nim12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/closure/tnestedproc.nim b/tests/closure/tnestedproc.nim
deleted file mode 100644
index 7eeeff198..000000000
--- a/tests/closure/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)())
-