summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-36816.rs
blob: 54690b43c46eff8cb0d4c0a8eacb373a66459bd2 (plain)
1
2
3
4
5
6
7
// run-pass
macro_rules! m { () => { 1 } }
macro_rules! n { () => { 1 + m!() } }

fn main() {
    let _: [u32; n!()] = [0, 0];
}