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.nim6
1 files changed, 6 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..9f26a4024
--- /dev/null
+++ b/tests/macros/tsame_name_497.nim
@@ -0,0 +1,6 @@
+
+import macro_bug
+
+type TObj = object
+
+proc f(o: TObj) {.macro_bug.} = discard