summary refs log tree commit diff stats
path: root/tests/closure/tdeeplynested.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/closure/tdeeplynested.nim')
-rw-r--r--tests/closure/tdeeplynested.nim20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/closure/tdeeplynested.nim b/tests/closure/tdeeplynested.nim
deleted file mode 100644
index ddf4fa6a4..000000000
--- a/tests/closure/tdeeplynested.nim
+++ /dev/null
@@ -1,20 +0,0 @@
-discard """
-  output: '''int: 108'''
-"""
-
-# bug #4070
-
-proc id(f: (proc())): auto =
-  return f
-
-proc foo(myinteger: int): (iterator(): int) =
-  return iterator(): int {.closure.} =
-           proc bar() =
-             proc kk() =
-               echo "int: ", myinteger
-
-             kk()
-
-           id(bar)()
-
-discard foo(108)()