blob: 8fcd497f87b788682a329733a78ae459eef42dd6 [file] [log] [blame]
// Test that the macro backtrace facility works
// aux-build:ping.rs
// compile-flags: -Z external-macro-backtrace
#[macro_use] extern crate ping;
// a local macro
macro_rules! pong {
() => { syntax error };
}
//~^^ ERROR expected one of
//~| ERROR expected one of
//~| ERROR expected one of
#[allow(non_camel_case_types)]
struct syntax;
fn main() {
pong!();
ping!();
deep!();
}