Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
3656.rs
blob: 33ae666b1587521eb90fb4d59382fe5fedc78cf8 [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
enum
Foo
{
Bar
(
isize
),
}
fn
main
()
{
match
Foo
::
Bar
(
205
)
{
Foo
{
i
}
=>
(),
// { dg-error "expected struct, variant or union type, found enum .Foo. .E0574." "" { target *-*-* } .-1 }
}
}