summary refs log tree commit diff stats
path: root/tests/pragmas/tcompile_missing_file.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pragmas/tcompile_missing_file.nim')
-rw-r--r--tests/pragmas/tcompile_missing_file.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/pragmas/tcompile_missing_file.nim b/tests/pragmas/tcompile_missing_file.nim
new file mode 100644
index 000000000..fd90bd57d
--- /dev/null
+++ b/tests/pragmas/tcompile_missing_file.nim
@@ -0,0 +1,5 @@
+discard """
+  joinable: false
+  errormsg: "cannot find: noexist.c"
+"""
+{.compile: "noexist.c".}