OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.dg
/
union-cast-4.c
1
/* PR c/35748 */
2
3
union U { void x[1]; }; /* { dg-error "array of voids" } */
4
5
void foo()
6
{
7
(union U)0; /* { dg-error "type not present" } */
8
}