summary refs log tree commit diff stats
path: root/testament/tests/shouldfail/tfile.nim
diff options
context:
space:
mode:
Diffstat (limited to 'testament/tests/shouldfail/tfile.nim')
-rw-r--r--testament/tests/shouldfail/tfile.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/testament/tests/shouldfail/tfile.nim b/testament/tests/shouldfail/tfile.nim
new file mode 100644
index 000000000..b40a4f44f
--- /dev/null
+++ b/testament/tests/shouldfail/tfile.nim
@@ -0,0 +1,6 @@
+discard """
+  errormsg: "undeclared identifier: 'undefined'"
+  file: "notthisfile.nim"
+"""
+
+echo undefined