summary refs log tree commit diff stats
path: root/tests/accept/run/tcontinuexc.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/accept/run/tcontinuexc.nim')
-rwxr-xr-xtests/accept/run/tcontinuexc.nim23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/accept/run/tcontinuexc.nim b/tests/accept/run/tcontinuexc.nim
deleted file mode 100755
index 496ee8164..000000000
--- a/tests/accept/run/tcontinuexc.nim
+++ /dev/null
@@ -1,23 +0,0 @@
-type
-  ESomething = object of E_Base
-  ESomeOtherErr = object of E_Base
-
-proc genErrors(s: string) =
-  if s == "error!":
-    raise newException(ESomething, "Test")
-  else:
-    raise newException(EsomeotherErr, "bla")
-
-try:
-  for i in 0..3:
-    try:
-      genErrors("error!")
-    except ESomething:
-      stdout.write("E")
-    stdout.write("C")
-    raise newException(EsomeotherErr, "bla")
-finally:  
-  echo "caught"
-
-#OUT ECcaught
-