diff options
Diffstat (limited to 'tests/ui/methods/auxiliary/macro-in-other-crate.rs')
-rw-r--r-- | tests/ui/methods/auxiliary/macro-in-other-crate.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/methods/auxiliary/macro-in-other-crate.rs b/tests/ui/methods/auxiliary/macro-in-other-crate.rs new file mode 100644 index 000000000..feda08463 --- /dev/null +++ b/tests/ui/methods/auxiliary/macro-in-other-crate.rs @@ -0,0 +1,9 @@ +#[macro_export] +macro_rules! mac { + ($ident:ident) => { let $ident = 42; } +} + +#[macro_export] +macro_rules! inline { + () => () +} |