blob: e3ae1e96a682bd905350b091135b6d06c7507f21 [file] [log] [blame]
Dan Gohman2d65d352009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Dan Gohmanf17a25c2007-07-18 16:29:46 +00002
3struct i387_soft_struct {
4 long cwd;
5 long twd;
6 long fip;
7};
8union i387_union {
9 struct i387_soft_struct soft;
10};
11struct thread_struct {
12 union i387_union i387;
13};
14void _init_task_union(void) {
15 struct thread_struct thread = (struct thread_struct) { {{0}} };
16}