]> git.lizzy.rs Git - rust.git/blob - src/test/ui/limits/issue-69485-var-size-diffs-too-large.rs
Rollup merge of #95534 - jyn514:std-mem-copy, r=joshtriplett
[rust.git] / src / test / ui / limits / issue-69485-var-size-diffs-too-large.rs
1 // build-fail
2 // only-x86_64
3 // compile-flags: -Zmir-opt-level=0
4
5 fn main() {
6     Bug::V([0; !0]); //~ ERROR are too big for the current
7 }
8
9 enum Bug {
10     V([u8; !0]),
11 }