Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
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
);
}