9 lines
146 B
C
9 lines
146 B
C
|
/* PR c/35748 */
|
||
|
|
||
|
union U { void x[1]; }; /* { dg-error "array of voids" } */
|
||
|
|
||
|
void foo()
|
||
|
{
|
||
|
(union U)0; /* { dg-error "type not present" } */
|
||
|
}
|