blob: 6a86c277eafa60ee68ca3313ea095d4453eb0caa [file] [log] [blame]
// compile-pass
// skip-codegen
#![allow(unused)]
macro_rules! make_item {
() => { fn f() {} }
}
macro_rules! make_stmt {
() => { let x = 0; }
}
fn f() {
make_item! {}
}
fn g() {
make_stmt! {}
}
fn main() {}