rust/tests/ui/issues/issue-36816.rs

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

8 lines
130 B
Rust
Raw Normal View History

//@ run-pass
2016-09-28 22:52:04 -05:00
macro_rules! m { () => { 1 } }
macro_rules! n { () => { 1 + m!() } }
fn main() {
let _: [u32; n!()] = [0, 0];
}