13 lines
141 B
Rust
13 lines
141 B
Rust
// compile-pass
|
|
// skip-codegen
|
|
|
|
macro_rules! m {
|
|
() => { #[cfg(any())] fn f() {} }
|
|
}
|
|
|
|
trait T {}
|
|
impl T for () { m!(); }
|
|
|
|
|
|
fn main() {}
|