Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
consts
/
const-eval
/
issue-100878.rs
blob: 5a0bc5fc28d0cd8e171592b1e39d7368914afa36 [
file
] [
log
] [
blame
] [
edit
]
// This checks that the const-eval ICE in issue #100878 does not recur.
//
//@ build-pass
#[
allow
(
arithmetic_overflow
)]
pub
fn
bitshift_data
(
data
:
[
u8
;
1
])
->
u8
{
data
[
0
]
<<
8
}
fn
main
()
{}