Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
083128f6b13dfa4fc615a838c49b516d901b1ac0
/
.
/
test
/
Sema
/
transparent-union-pointer.c
blob: a58bd42f821fca3d6d42470b02b956a8b55f99f4 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -fsyntax-only -verify
typedef
union
{
union
wait
*
__uptr
;
int
*
__iptr
;
}
__WAIT_STATUS __attribute__
((
__transparent_union__
));
extern
int
wait
(
__WAIT_STATUS __stat_loc
);
void
fastcgi_cleanup
()
{
int
status
=
0
;
wait
(&
status
);
}