summary refs log tree commit diff stats
path: root/tests/controlflow
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2018-12-04 02:13:49 -0800
committerAndreas Rumpf <rumpf_a@web.de>2018-12-04 11:13:49 +0100
commit05769020d3f9eb2b13c8b61613fd5e52a397624d (patch)
treedd93d6b2395f95c9ed87ab1cf84b3828e4d1bad2 /tests/controlflow
parentf86b827d9e10f0178f1bb89d1c7df8c6b7b7eba0 (diff)
downloadNim-05769020d3f9eb2b13c8b61613fd5e52a397624d.tar.gz
fixes #9832 (#9841) [backport]
Diffstat (limited to 'tests/controlflow')
-rw-r--r--tests/controlflow/tstatret.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/controlflow/tstatret.nim b/tests/controlflow/tstatret.nim
index 04cac9966..8327d3ee3 100644
--- a/tests/controlflow/tstatret.nim
+++ b/tests/controlflow/tstatret.nim
@@ -1,7 +1,7 @@
 discard """
   file: "tstatret.nim"
   line: 9
-  errormsg: "unreachable statement after 'return'"
+  errormsg: "unreachable statement after '{.noReturn.}' proc"
 """
 # no statement after return
 proc main() =