rust/src/test/run-pass/macros/macro-crate-def-only.rs
2018-12-25 21:08:33 -07:00

11 lines
161 B
Rust

// run-pass
// aux-build:macro_crate_def_only.rs
#[macro_use] #[no_link]
extern crate macro_crate_def_only;
pub fn main() {
assert_eq!(5, make_a_5!());
}