Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issue-3628.rs
blob: 5f5978918e4e7342470ebaaecf367c07a95894fd [
file
] [
log
] [
blame
]
pub
enum
Enum
{
Variant1
(
isize
),
}
impl
Enum
{
fn
static_meth_enum
()
->
Enum
{
Enum
{
x
:
1
}
// { dg-error "expected a struct, variant or union type, found enum .Enum. .E0574." "" { target *-*-* } .-1 }
}
}