Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
structs-enums
/
namespaced-enums.rs
blob: 6a2602501a5416194f2c607a499d8022cb66b70e [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
enum
Foo
{
A
,
B
(
isize
),
C
{
a
:
isize
},
}
fn
_foo
(
f
:
Foo
)
{
match
f
{
Foo
::
A
|
Foo
::
B
(
_
)
|
Foo
::
C
{
..
}
=>
{}
}
}
pub
fn
main
()
{}