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
PR c++/82069 - ICE with lambda in template
[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
}