Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
c-c++-common
/
transparent-union-1.c
blob: 91f2642fdbc8930efb300cbc08339f2cd31f3d64 [
file
] [
log
] [
blame
]
/* PR c++/51228 */
/* { dg-options "-Wno-c++-compat" { target c } } */
typedef
union
{}
U __attribute__
((
transparent_union
));
/* { dg-warning "ignored" } */
void
foo
(
U u
)
{}