| Tanya Lattner | ca21187 | 2004-11-06 22:41:00 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null |
| 2 | |||||
| Chris Lattner | ff4aa6d | 2003-11-27 20:47:16 +0000 | [diff] [blame] | 3 | struct i387_soft_struct { |
| 4 | long cwd; | ||||
| 5 | }; | ||||
| 6 | union i387_union { | ||||
| 7 | struct i387_soft_struct soft; | ||||
| 8 | }; | ||||
| 9 | struct thread_struct { | ||||
| 10 | union i387_union i387; | ||||
| 11 | }; | ||||
| 12 | void _init_task_union(void) { | ||||
| 13 | struct thread_struct thread = (struct thread_struct) { {{0}} }; | ||||
| 14 | } | ||||