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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
union-cast-4.c
blob
a1c98ba14acc77ae7ea51f8c7c1d02bd1be7a322
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
}