Sign in
fuchsia
/
third_party
/
rust
/
d782f09ae0b88a73a69e2fa3169222cdbc47d4ec
/
.
/
src
/
test
/
ui
/
numbers-arithmetic
/
signed-shift-const-eval.rs
blob: 6d0462b460e436c7af35063dc136e104df7b5a5c [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
non_camel_case_types
)]
enum
test
{
thing
=
-
5
>>
1
_usize
}
pub
fn
main
()
{
assert_eq
!(
test
::
thing
as
isize
,
-
3
);
}