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

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

11 lines
201 B
Rust
Raw Normal View History

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