mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 11:13:43 +00:00
11 lines
200 B
Rust
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);
|
|
}
|