1 2 3 4 5 6 7 8 9 10 11 12 13 14
typedef union { int __lock; } pthread_mutex_t; extern void abort (void); int main() { struct { int c; pthread_mutex_t m; } r = { .m = 0 }; if (r.c != 0) abort (); return 0; }