☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
union-cast-4.c
☽
☼
gcc/testsuite/gcc.dg/union-cast-4.c
code
plain
raw
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
}