Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
gcc.dg
/
init-bad-8.c
blob: f7b0f7f688651a47dee4888a48446d652b8d372a [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "" } */
struct
S
{
int
i
,
j
,
k
;
};
void
foo
(
void
)
{
struct
S s
=
{
.
i
=
1
,
.
j
=
2
,
.
l
=
4
};
/* { dg-error "35: .struct S. has no member named .l." } */
}