mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +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);
|
|
}
|