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
129 B
Rust
Raw Normal View History

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