summaryrefslogtreecommitdiffstats
path: root/tests/ui/limits/issue-69485-var-size-diffs-too-large.rs
blob: 2560ffe168be55257e9df586143c99d7e831efed (plain)
1
2
3
4
5
6
7
8
9
10
11
// build-fail
// only-x86_64
// compile-flags: -Zmir-opt-level=0

fn main() {
    Bug::V([0; !0]); //~ ERROR are too big for the current
}

enum Bug {
    V([u8; !0]),
}