Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | // RUN: %llvmgcc -S %s -o - | llvm-as -f -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 | } |