Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
resolve
/
resolve-issue-2428.rs
blob: 5f3473e9feb74f6c5b68b86bd37bf84fa868eff1 [
file
] [
log
] [
blame
]
// run-pass
#![
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
);
}