Debian Codegraph @

gcc/testsuite/gcc.dg/union-cast-4.c

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 }