1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -fsyntax-only -verify 2*f4a2713aSLionel Sambuc // expected-no-diagnostics 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc typedef union { 5*f4a2713aSLionel Sambuc union wait *__uptr; 6*f4a2713aSLionel Sambuc int *__iptr; 7*f4a2713aSLionel Sambuc } __WAIT_STATUS __attribute__ ((__transparent_union__)); 8*f4a2713aSLionel Sambuc 9*f4a2713aSLionel Sambuc extern int wait (__WAIT_STATUS __stat_loc); 10*f4a2713aSLionel Sambuc fastcgi_cleanup()11*f4a2713aSLionel Sambucvoid fastcgi_cleanup() { 12*f4a2713aSLionel Sambuc int status = 0; 13*f4a2713aSLionel Sambuc wait(&status); 14*f4a2713aSLionel Sambuc } 15*f4a2713aSLionel Sambuc 16