rust/src/test/ui/issues/issue-34171.rs
2018-12-25 21:08:33 -07:00

13 lines
189 B
Rust

// compile-pass
// skip-codegen
macro_rules! null { ($i:tt) => {} }
macro_rules! apply_null {
($i:item) => { null! { $i } }
}
fn main() {
apply_null!(#[cfg(all())] fn f() {});
}