diff options
Diffstat (limited to 'tests/ui/macros/macro-use-both.rs')
-rw-r--r-- | tests/ui/macros/macro-use-both.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-use-both.rs b/tests/ui/macros/macro-use-both.rs new file mode 100644 index 000000000..ed5d1312f --- /dev/null +++ b/tests/ui/macros/macro-use-both.rs @@ -0,0 +1,10 @@ +// run-pass +// aux-build:two_macros.rs + +#[macro_use(macro_one, macro_two)] +extern crate two_macros; + +pub fn main() { + macro_one!(); + macro_two!(); +} |