rust/tests/ui/macros/macro_undefined.rs
2023-01-11 09:32:08 +00:00

14 lines
164 B
Rust

// Test macro_undefined issue
mod m {
#[macro_export]
macro_rules! kl {
() => ()
}
}
fn main() {
k!(); //~ ERROR cannot find
kl!();
}