Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
test
/
Sema
/
transparent-union-pointer.c
blob: ea761f17e7d65d347c00d680b81be9a58866f889 [
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
);
}