summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-39467.rs
blob: 397751e4ec37a5081a33cd5000c6ad6cf7bebc62 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
#![allow(dead_code)]
macro_rules! expr { () => { () } }

enum A {}

impl A {
    const A: () = expr!();
}

fn main() {}