blob: 66dce057d0f5c268d5a31996a0e5d0d376b6c1e6 [file] [log] [blame]
//@ check-pass
//
// Ensures that we properly lint
// a removed 'expression' resulting from a macro
// in trailing expression position
macro_rules! expand_it {
() => {
#[cfg(FALSE)] 25; //~ WARN trailing semicolon in macro
//~| WARN this was previously
}
}
fn main() {
expand_it!()
}