| Daniel Dunbar | ffd408a | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc %s -fsyntax-only -verify |
| Eli Friedman | 283b362 | 2008-09-02 05:19:23 +0000 | [diff] [blame] | 2 | |
| 3 | typedef union { | ||||
| 4 | union wait *__uptr; | ||||
| 5 | int *__iptr; | ||||
| 6 | } __WAIT_STATUS __attribute__ ((__transparent_union__)); | ||||
| 7 | |||||
| 8 | extern int wait (__WAIT_STATUS __stat_loc); | ||||
| 9 | |||||
| 10 | void fastcgi_cleanup() { | ||||
| 11 | int status = 0; | ||||
| 12 | wait(&status); | ||||
| 13 | } | ||||
| 14 | |||||