transparent-union-pointer.c revision d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
1// RUN: clang-cc %s -fsyntax-only -verify 2 3typedef union { 4 union wait *__uptr; 5 int *__iptr; 6} __WAIT_STATUS __attribute__ ((__transparent_union__)); 7 8extern int wait (__WAIT_STATUS __stat_loc); 9 10void fastcgi_cleanup() { 11 int status = 0; 12 wait(&status); 13} 14 15