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

13 lines
141 B
Rust

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