13 lines
189 B
Rust
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() {});
|
|
}
|