repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
re PR c++/70808 (Spurious -Wzero-as-null-pointer-constant for nullptr_t)
[official-gcc.git]
/
gcc
/
testsuite
/
c-c++-common
/
transparent-union-1.c
blob
91f2642fdbc8930efb300cbc08339f2cd31f3d64
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
) {}