summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/macro-ice-16019.rs
blob: d0f82e0a314cebe8656e55250937e9e6db66147a (plain)
1
2
3
4
5
6
7
8
9
10
11
// https://github.com/rust-lang/rust/issues/16019

macro_rules! define_struct {
    ($rounds:expr) => (
        struct Struct {
            sk: [u32; $rounds + 1]
        }
        )
}

define_struct!(2);