diff options
Diffstat (limited to 'tests/ui/macros/auxiliary/define-macro.rs')
-rw-r--r-- | tests/ui/macros/auxiliary/define-macro.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/macros/auxiliary/define-macro.rs b/tests/ui/macros/auxiliary/define-macro.rs new file mode 100644 index 000000000..4956907c5 --- /dev/null +++ b/tests/ui/macros/auxiliary/define-macro.rs @@ -0,0 +1,6 @@ +#[macro_export] +macro_rules! define_macro { + ($i:ident) => { + macro_rules! $i { () => {} } + } +} |