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
2018-01-24 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20050620-1.c
blob
befdd9636500cfc8fe7db1bd4f67bee5796ed922
1
/* PR middle-end/22028 */
2
/* { dg-do compile } */
3
/* { dg-options "" } */
4
5
void
6
foo
(
void
)
7
{
8
struct
{
int
i
[]; }
u
;
/* { dg-error "flexible array member" } */
9
}
10
11
void
12
bar
(
void
)
13
{
14
struct
{
struct
a b
; }
c
;
/* { dg-error "has incomplete type" } */
15
}