Debian Codegraph @

gcc/testsuite/rust/compile/torture/arrays5.rs

raw
1
2 // Checks that we don't try to allocate a 4TB array during compilation
3 fn main () {
4 let x = [0; 4 * 1024 * 1024 * 1024 * 1024];
5 // { dg-warning "unused name" "" { target *-*-* } .-1 }
6 }