rust/tests/ui/macros/issue-39467.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
135 B
Rust
Raw Normal View History

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