rust/src/test/ui/issues/issue-39467.rs

12 lines
136 B
Rust
Raw Normal View History

// compile-pass
#![allow(dead_code)]
macro_rules! expr { () => { () } }
enum A {}
impl A {
const A: () = expr!();
}
fn main() {}