summary refs log tree commit diff stats
path: root/tests/run/tfinally.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tfinally.nim')
-rwxr-xr-xtests/run/tfinally.nim21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/run/tfinally.nim b/tests/run/tfinally.nim
deleted file mode 100755
index 29313c3fd..000000000
--- a/tests/run/tfinally.nim
+++ /dev/null
@@ -1,21 +0,0 @@
-discard """
-  file: "tfinally.nim"
-  output: "came here 3"
-"""
-# Test return in try statement:
-
-proc main: int = 
-  try:
-    try:
-      return 1
-    finally:
-      stdout.write("came ")
-      return 2
-  finally: 
-    stdout.write("here ")
-    return 3
-    
-echo main() #OUT came here 3
-
-
-