summary refs log tree commit diff stats
path: root/tests/controlflow/tstatret.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/controlflow/tstatret.nim')
-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() =