Sign in
fuchsia
/
third_party
/
rust
/
12307b3b08edee543a78fb9d4a837fbd6d6ac0fa
/
.
/
src
/
test
/
ui
/
consts
/
const-enum-ptr.rs
blob: 84f4eb8406dc6fff4f32bd2129d735f0af0306a0 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
enum
E
{
V0
,
V1
(
isize
)
}
static
C
:
&
'
static
E
=
&
E
::
V0
;
pub
fn
main
()
{
match
*
C
{
E
::
V0
=>
(),
_
=>
panic
!()
}
}