| Tanya Lattner | e9af5d1 | 2004-11-06 22:41:00 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null |
| 2 | |||||
| Chris Lattner | 2bc9988 | 2003-11-27 21:25:07 +0000 | [diff] [blame] | 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 | } | ||||