anywhere near correct in terms of missing cases and missing diagnostics, but it's good enough to handle the uses in the Linux system headers, which are currently a constant pain for compiling applications on Linux. llvm-svn: 55621
15 lines
257 B
C
15 lines
257 B
C
// 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);
|
|
}
|
|
|