rust/tests/ui/macros/macro-crate-def-only.rs
2024-02-16 20:02:50 +00:00

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!());
}