Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
issue-66342.rs
blob: 417f69041658da8652a72f3b4af100e68adb5bda [
file
] [
log
] [
blame
]
// check-pass
// only-x86_64
// Checks that the compiler does not actually try to allocate 4 TB during compilation and OOM crash.
fn
foo
()
->
[
u8
;
4
*
1024
*
1024
*
1024
*
1024
]
{
unimplemented
!()
}
fn
main
()
{
foo
();
}