summary refs log tree commit diff stats
path: root/tests/pragmas/thintoff.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pragmas/thintoff.nim')
-rw-r--r--tests/pragmas/thintoff.nim6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pragmas/thintoff.nim b/tests/pragmas/thintoff.nim
new file mode 100644
index 000000000..7a5b344e6
--- /dev/null
+++ b/tests/pragmas/thintoff.nim
@@ -0,0 +1,6 @@
+# issue #4001
+discard """
+  errormsg: "invalid pragma: hint[]: off"
+"""
+
+{. hint[]: off .}