transparent-union-pointer.c revision bc88745b43f440341e60ed93b0d27bac7c418029
1// RUN: clang %s -fsyntax-only -verify
2
3typedef union   {
4	union wait *__uptr;
5	int *__iptr;
6} __WAIT_STATUS __attribute__ ((__transparent_union__));
7
8extern int wait (__WAIT_STATUS __stat_loc);
9
10void fastcgi_cleanup() {
11	int status = 0;
12	wait(&status);
13}
14
15