rust/tests/ui/macros/macro-crate-nonterminal-renamed.rs
2024-02-16 20:02:50 +00:00

11 lines
200 B
Rust

//@ run-pass
//@ aux-build:macro_crate_nonterminal.rs
#[macro_use]
extern crate macro_crate_nonterminal as new_name;
pub fn main() {
new_name::check_local();
assert_eq!(increment!(5), 6);
}