| Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o /dev/null |
| 2 | |||||
| 3 | struct i387_soft_struct { | ||||
| 4 | long cwd; | ||||
| 5 | long twd; | ||||
| 6 | long fip; | ||||
| 7 | }; | ||||
| 8 | union i387_union { | ||||
| 9 | struct i387_soft_struct soft; | ||||
| 10 | }; | ||||
| 11 | struct thread_struct { | ||||
| 12 | union i387_union i387; | ||||
| 13 | }; | ||||
| 14 | void _init_task_union(void) { | ||||
| 15 | struct thread_struct thread = (struct thread_struct) { {{0}} }; | ||||
| 16 | } | ||||