repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20030305-1.c
blob
2f608196fdde3d6f89c36facb945deb5b74e7ce2
1
/* PR c/9799 */
2
/* Verify that GCC doesn't crash on excess elements
3
in initializer for a flexible array member. */
4
5
typedef
struct
{
6
int
aaa
;
7
}
s1_t
;
8
9
typedef
struct
{
10
int
bbb
;
11
s1_t s1_array
[];
12
}
s2_t
;
13
14
static
s2_t s2_array
[]= {
15
{
1
,
4
},
16
{
2
,
5
},
17
{
3
,
6
}
18
};