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

11 lines
203 B
Rust

//@ 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);
}