rust/tests/ui/macros/issue-39467.rs
2024-02-16 20:02:50 +00:00

12 lines
135 B
Rust

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