Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
inference
/
bitwise-integer-inference-68951.rs
blob: 4904af3e1f3b0173ee436542f93fc2b946f99318 [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/68951
//@ check-pass
fn
main
()
{
let
array
=
[
0x42u8
;
10
];
for
b in
&
array
{
let
lo
=
b
&
0xf
;
let
hi
=
(
b
>>
4
)
&
0xf
;
}
}