mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
11 lines
163 B
Rust
11 lines
163 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!());
|
|
}
|