view gcc/testsuite/c-c++-common/transparent-union-1.c @ 140:4e440907fcbf

copy CbC goto flang in cfgexpand remove some CbC unnecessary code
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 14 Nov 2018 00:24:45 +0900
parents 04ced10e8804
children
line wrap: on
line source

/* PR c++/51228 */
/* { dg-options "-Wno-c++-compat" { target c } } */

typedef union {} U __attribute__((transparent_union)); /* { dg-warning "ignored" } */

void foo(U u) {}