rust/tests/ui/macros/macro-crate-nonterminal-renamed.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
198 B
Rust
Raw Normal View History

// run-pass
2014-09-15 20:27:28 -05:00
// aux-build:macro_crate_nonterminal.rs
#[macro_use]
extern crate macro_crate_nonterminal as new_name;
2014-09-15 20:27:28 -05:00
pub fn main() {
new_name::check_local();
assert_eq!(increment!(5), 6);
}