diff options
Diffstat (limited to 'tests/ui/macros/macro-crate-nonterminal.rs')
-rw-r--r-- | tests/ui/macros/macro-crate-nonterminal.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/macros/macro-crate-nonterminal.rs b/tests/ui/macros/macro-crate-nonterminal.rs new file mode 100644 index 000000000..4b1056fc7 --- /dev/null +++ b/tests/ui/macros/macro-crate-nonterminal.rs @@ -0,0 +1,10 @@ +// run-pass +// aux-build:macro_crate_nonterminal.rs + +#[macro_use] +extern crate macro_crate_nonterminal; + +pub fn main() { + macro_crate_nonterminal::check_local(); + assert_eq!(increment!(5), 6); +} |