mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
11 lines
198 B
Rust
11 lines
198 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);
|
|
}
|