Sign in
◑
Theme
gnu
/
gcc.git
/
bb5c3bfcb28b423544676b30df5a3bc97e91c41f
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
match-identifierpattern-enum.rs
blob: 840a9f049469cc8df3c63982b7fbff5a0d30f38e [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
enum
Foo
{
I
(
i32
),
}
fn
main
()
{
let
x
=
Foo
::
I
(
1
);
match
x
{
a
@
Foo
::
I
(
b
)
=>
{},
_
=>
{},
};
}