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
S/390: Allow immediates in loc expander
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
c99-flex-array-typedef-5.c
blob
2d1fbe1c13084eca3830c9181e42a3d6f2150b48
1
/* Test for flexible array members: not permitted in unions. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
4
5
typedef
char
T
[];
6
union
u
{
int
a
;
T b
; };
/* { dg-error "flexible array member in union" } */