summary refs log tree commit diff stats
path: root/testament/tests/shouldfail/tccodecheck.nim
diff options
context:
space:
mode:
Diffstat (limited to 'testament/tests/shouldfail/tccodecheck.nim')
-rw-r--r--testament/tests/shouldfail/tccodecheck.nim8
1 files changed, 8 insertions, 0 deletions
diff --git a/testament/tests/shouldfail/tccodecheck.nim b/testament/tests/shouldfail/tccodecheck.nim
new file mode 100644
index 000000000..477da1e23
--- /dev/null
+++ b/testament/tests/shouldfail/tccodecheck.nim
@@ -0,0 +1,8 @@
+discard """
+  ccodecheck: "baz"
+"""
+
+proc foo(): void {.exportc: "bar".}=
+  echo "Hello World"
+
+foo()