2010-01-01 10:34:51 +00:00
|
|
|
// RUN: %clang_cc1 %s -fsyntax-only -verify
|
2012-12-02 13:20:44 +00:00
|
|
|
// expected-no-diagnostics
|
2009-06-02 17:58:47 +00:00
|
|
|
|
|
|
|
typedef union {
|
2009-10-14 18:03:49 +00:00
|
|
|
union wait *__uptr;
|
|
|
|
int *__iptr;
|
2009-06-02 17:58:47 +00:00
|
|
|
} __WAIT_STATUS __attribute__ ((__transparent_union__));
|
|
|
|
|
|
|
|
extern int wait (__WAIT_STATUS __stat_loc);
|
|
|
|
|
|
|
|
void fastcgi_cleanup() {
|
2009-10-14 18:03:49 +00:00
|
|
|
int status = 0;
|
|
|
|
wait(&status);
|
2009-06-02 17:58:47 +00:00
|
|
|
}
|
|
|
|
|