Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
name_resolution17.rs
blob: 84ad380fd956f6c579f548975988a2b2d5edda29 [
file
] [
log
] [
blame
]
struct
Foo
;
fn
Foo
()
{}
// { dg-error ".Foo. defined multiple times" }
struct
Marker
;
struct
Bar
{
a
:
Marker
,
}
fn
Bar
()
{}
// ok, since `Bar` is not a value here