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-16 01:27:28 +00:00
// aux-build:macro_crate_nonterminal.rs
#[macro_use]
extern crate macro_crate_nonterminal as new_name;
2014-09-16 01:27:28 +00:00
pub fn main() {
new_name::check_local();
assert_eq!(increment!(5), 6);
}