Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
3628.rs
blob: 592def8726fcfc4ba58be53f0c2ba0c9e489987d [
file
]
#![
feature
(
no_core
)]
#![
no_core
]
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 }
}
}