repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Document gcov-io (PR gcov-profile/84735).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr64709.c
blob
337e3db3e177875709a0e80d454122f14a9acc8f
1
/* PR c/64709 */
2
/* { dg-do compile } */
3
/* { dg-options "-Wmissing-field-initializers" } */
4
5
struct
S
{
int
a
,
b
; };
6
void
7
foo
(
void
)
8
{
9
struct
S s
[] = { {
1
,
2
}, {
0
} };
/* { dg-bogus "missing initializer for field" } */
10
}