Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
structs-enums
/
namespaced-enums-xcrate.rs
blob: b5655e68a47e3ddd6e68245bed3d101258a656a0 [
file
] [
log
] [
blame
] [
edit
]
//@ run-pass
//@ aux-build:namespaced_enums.rs
//@ pretty-expanded FIXME #23616
extern
crate namespaced_enums
;
use
namespaced_enums
::
Foo
;
fn
_foo
(
f
:
Foo
)
{
match
f
{
Foo
::
A
|
Foo
::
B
(
_
)
|
Foo
::
C
{
..
}
=>
{}
}
}
pub
fn
main
()
{}