rust/tests/ui/macros/macro_undefined.rs

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

14 lines
164 B
Rust
Raw Normal View History

// Test macro_undefined issue
mod m {
#[macro_export]
macro_rules! kl {
() => ()
}
}
fn main() {
2017-11-20 06:13:27 -06:00
k!(); //~ ERROR cannot find
2018-05-13 19:22:52 -05:00
kl!();
}