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() {}