summary refs log tree commit diff stats
path: root/tests/macros/tsame_name_497.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tsame_name_497.nim')
-rw-r--r--tests/macros/tsame_name_497.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/macros/tsame_name_497.nim b/tests/macros/tsame_name_497.nim
new file mode 100644
index 000000000..e49f9f6d8
--- /dev/null
+++ b/tests/macros/tsame_name_497.nim
@@ -0,0 +1,5 @@
+import macro_bug
+
+type TObj = object
+
+proc f(o: TObj) {.macro_bug.} = discard