]>
git.proxmox.com Git - rustc.git/blob - tests/ui/mir/mir_heavy_promoted.rs
2 // ignore-emscripten apparently only works in optimized mode
4 const TEST_DATA
: [u8; 32 * 1024 * 1024] = [42; 32 * 1024 * 1024];
6 // Check that the promoted copy of TEST_DATA doesn't
7 // leave an alloca from an unused temp behind, which,
8 // without optimizations, can still blow the stack.
10 println
!("{}", TEST_DATA
.len());