Sign in
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
execute
/
xfail
/
match-identifierpattern-enum.rs
blob: c3a0f65fe710520a7a7be5ed4b639d01cfe0ec20 [
file
] [
log
] [
blame
]
enum
Foo
{
I
(
i32
),
}
fn
main
()
->
i32
{
let
x
=
Foo
::
I
(
0
);
let
ret
=
1
;
match
x
{
_
@
Foo
::
I
(
b
)
=>
{
ret
=
b
},
_
=>
{},
};
ret
}