mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
12 lines
170 B
Rust
12 lines
170 B
Rust
// 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]),
|
|
}
|