Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
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
);
}