summary refs log tree commit diff stats
path: root/tests/run/tcontinue.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run/tcontinue.nim')
-rw-r--r--tests/run/tcontinue.nim28
1 files changed, 0 insertions, 28 deletions
diff --git a/tests/run/tcontinue.nim b/tests/run/tcontinue.nim
deleted file mode 100644
index 092026e8c..000000000
--- a/tests/run/tcontinue.nim
+++ /dev/null
@@ -1,28 +0,0 @@
-discard """
-  output: "came here"
-"""
-
-var i = 0
-while i < 400:
-
-  if i == 10: break
-  elif i == 3: 
-    inc i
-    continue
-  inc i
-
-var f = "failure"
-var j = 0
-while j < 300:
-  for x in 0..34:
-    if j < 300: continue
-    if x == 10: 
-      echo "failure: should never happen"
-      break
-  f = "came here"
-  break
-
-if i == 10:
-  echo f
-else:
-  echo "failure"