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