Sign in
◑
Theme
rust
/
rust
/
08ec41ea3dfd2d30a5747a084d0dbc79fba227d6
/
.
/
tests
/
ui
/
numbers-arithmetic
/
signed-shift-const-eval.rs
blob: dda54e2a579b5e602e6a2c335e68911231e320bf [
file
]
//@ run-pass
#![
allow
(
non_camel_case_types
)]
enum
test
{
thing
=
-
5
>>
1
_usize
}
pub
fn
main
()
{
assert_eq
!(
test
::
thing
as
isize
,
-
3
);
}