☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
c-c++-common
/
transparent-union-1.c
☽
☼
gcc/testsuite/c-c++-common/transparent-union-1.c
code
plain
raw
1
/* PR c++/51228 */
2
/* { dg-options "-Wno-c++-compat" { target c } } */
3
4
typedef union {} U __attribute__((transparent_union)); /* { dg-warning "ignored" } */
5
6
void foo(U u) {}