summary refs log tree commit diff stats
path: root/tests/reject/tstatret.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reject/tstatret.nim')
-rwxr-xr-xtests/reject/tstatret.nim12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/reject/tstatret.nim b/tests/reject/tstatret.nim
deleted file mode 100755
index bf90255a0..000000000
--- a/tests/reject/tstatret.nim
+++ /dev/null
@@ -1,12 +0,0 @@
-discard """
-  file: "tstatret.nim"
-  line: 9
-  errormsg: "statement not allowed after"
-"""
-# no statement after return

-proc main() =

-  return

-  echo("huch?") #ERROR_MSG statement not allowed after

-

-
-