Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
enum_discriminant3.rs
blob: 32c79a5cd0a6cefdbc6d0242f482760de2239d28 [
file
] [
log
] [
blame
]
const
x
:
isize
=
1
;
// { dg-warning "unused name" "" { target *-*-* } .-1 }
fn
main
()
{
enum
Foo
{
Bar
=
x
,
}
}