Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
1081.rs
blob: a8a089c2c3f292aede5448e47d817e475bd70e3e [
file
]
// { dg-additional-options "-w" }
#![
feature
(
no_core
)]
#![
no_core
]
enum
Foo
{
A
,
B
,
}
fn
inspect
(
f
:
Foo
,
g
:
u8
)
{
match
(
f
,
g
)
{
(
Foo
::
A
,
1
)
=>
{}
(
Foo
::
B
,
2
)
=>
{}
_
=>
{}
}
}