view gcc/testsuite/gcc.dg/pr93573-1.c @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

/* PR c/93573 */
/* { dg-do compile } */
/* { dg-options "" } */

void bar ();

void
foo (char a)
{
  union C { int d[100.0]; char *e; };	/* { dg-error "has non-integer type" } */
  bar ((union C) &a);
}