blob: 46dbdd35ef658a4f3616d86d28cb3d17ddcee85e [file] [log] [blame]
//@ check-pass
macro_rules! make_item {
() => { fn f() {} }
}
macro_rules! make_stmt {
() => { let x = 0; }
}
fn f() {
make_item! {}
}
fn g() {
make_stmt! {}
}
fn main() {}
// https://github.com/rust-lang/rust/issues/34418