Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
Sema
/
transparent-union-pointer.c
blob: 58597b18096aa1c10bc8805bad5c33ef59e2e2fa [
file
] [
log
] [
blame
]
// RUN: clang %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
);
}