rust/tests/ui/issues/issue-39467.rs
2023-01-11 09:32:08 +00:00

12 lines
134 B
Rust

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