about summary refs log tree commit diff
path: root/tests/ui/macros/issue-39467.rs
blob: 5405ec3fb3d5b515aa29f176e111fc82f921068c (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() {}