blob: e3ae1e96a682bd905350b091135b6d06c7507f21 [file] [log] [blame]
Dan Gohmanfea1dd02009-08-25 15:38:29 +00001// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
Tanya Lattnere9af5d12004-11-06 22:41:00 +00002
Chris Lattner2bc99882003-11-27 21:25:07 +00003struct 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}