PR tree-optimization/86401
[official-gcc.git] / gcc / testsuite / c-c++-common / transparent-union-1.c
blob91f2642fdbc8930efb300cbc08339f2cd31f3d64
1 /* PR c++/51228 */
2 /* { dg-options "-Wno-c++-compat" { target c } } */
4 typedef union {} U __attribute__((transparent_union)); /* { dg-warning "ignored" } */
6 void foo(U u) {}