summary refs log tree commit diff stats
path: root/tests/pragmas/t4384.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pragmas/t4384.nim')
-rw-r--r--tests/pragmas/t4384.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/pragmas/t4384.nim b/tests/pragmas/t4384.nim
new file mode 100644
index 000000000..e6b193f79
--- /dev/null
+++ b/tests/pragmas/t4384.nim
@@ -0,0 +1,3 @@
+macro testMacro(body: untyped): untyped = discard
+macro testMacro(s: string, body: untyped): untyped = discard
+proc foo() {.testMacro: "foo".} = discard