rust/tests/ui/macros/issue-39467.rs
2023-08-28 17:47:37 -03:00

12 lines
134 B
Rust

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