2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 %s -fsyntax-only -verify
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2008-09-02 13:19:23 +08:00
|
|
|
|
|
|
|
typedef union {
|
2009-09-09 23:08:12 +08:00
|
|
|
union wait *__uptr;
|
|
|
|
int *__iptr;
|
2008-09-02 13:19:23 +08:00
|
|
|
} __WAIT_STATUS __attribute__ ((__transparent_union__));
|
|
|
|
|
|
|
|
extern int wait (__WAIT_STATUS __stat_loc);
|
|
|
|
|
|
|
|
void fastcgi_cleanup() {
|
2009-09-09 23:08:12 +08:00
|
|
|
int status = 0;
|
|
|
|
wait(&status);
|
2008-09-02 13:19:23 +08:00
|
|
|
}
|
|
|
|
|