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

12 lines
136 B
Rust

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