Sign in
fuchsia
/
third_party
/
rust
/
fad27df3e7aafbd83341df34d397fe4015f69679
/
.
/
src
/
test
/
run-pass
/
resolve-issue-2428.rs
blob: 7e730f6156c89a34b518e207b042972f3d126ee9 [
file
] [
log
] [
blame
]
#![
allow
(
non_camel_case_types
)]
#![
allow
(
non_upper_case_globals
)]
const
foo
:
isize
=
4
>>
1
;
enum
bs
{
thing
=
foo
}
pub
fn
main
()
{
assert_eq
!(
bs
::
thing
as
isize
,
foo
);
}