summary refs log tree commit diff stats
path: root/tests/proc/tnestprc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/proc/tnestprc.nim')
-rw-r--r--tests/proc/tnestprc.nim16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/proc/tnestprc.nim b/tests/proc/tnestprc.nim
deleted file mode 100644
index 9b3c33d5e..000000000
--- a/tests/proc/tnestprc.nim
+++ /dev/null
@@ -1,16 +0,0 @@
-discard """
-  file: "tnestprc.nim"
-  output: "10"
-"""
-# Test nested procs without closures
-
-proc Add3(x: int): int =
-  proc add(x, y: int): int {.noconv.} =
-    result = x + y
-
-  result = add(x, 3)
-
-echo Add3(7) #OUT 10
-
-
-