Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
resolve
/
resolve-issue-2428.rs
blob: f7bb117c88fcc1b7650fa9beeb0063f1f2251303 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
);
}