Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
limits
/
huge-array-simple-64.rs
blob: d2838e0d41e70bd2daf98e1b9df7bec9802a6982 [
file
] [
log
] [
blame
] [
edit
]
//@ build-fail
//@ ignore-32bit
#![
allow
(
arithmetic_overflow
)]
fn
main
()
{
let
_fat
:
[
u8
;
(
1
<<
61
)+(
1
<<
31
)]
=
//~ ERROR too big for the target architecture
[
0
;
(
1u64
<<
61
)
as
usize
+(
1u64
<<
31
)
as
usize
];
}