summary refs log tree commit diff stats
path: root/tests/testament/treject.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testament/treject.nim')
-rw-r--r--tests/testament/treject.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testament/treject.nim b/tests/testament/treject.nim
new file mode 100644
index 000000000..be2db86a9
--- /dev/null
+++ b/tests/testament/treject.nim
@@ -0,0 +1,6 @@
+discard """
+action: "reject"
+"""
+
+# this line does not compile, so the test should pass, since action="reject"
+let x: int = "type mismatch"