Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issue-3672.rs
blob: 4bd3df8204e4d666a1cd75881efe779905243dcc [
file
]
// { dg-options "-w" }
#![
feature
(
no_core
)]
#![
no_core
]
struct
Y
(
usize
,
usize
);
fn
distinct_variant
()
{
let
y
=
Y
(
1
,
2
);
let
a
=
match
y
{
Y
(
a
,
_
)
=>
a
,
};
}