summary refs log tree commit diff stats
path: root/tests/accept/run/tfinally.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tfinally.nim')
-rwxr-xr-xtests/accept/run/tfinally.nim15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/accept/run/tfinally.nim b/tests/accept/run/tfinally.nim
deleted file mode 100755
index 92c1e500f..000000000
--- a/tests/accept/run/tfinally.nim
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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
-