rust/src/test/ui/issues/issue-39467.rs
2019-11-04 16:03:46 +01:00

12 lines
134 B
Rust

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