blob: 15eb7694795198497e08b11a342cdd2adcf30b6e [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};
6union i387_union {
7 struct i387_soft_struct soft;
8};
9struct thread_struct {
10 union i387_union i387;
11};
12void _init_task_union(void) {
13 struct thread_struct thread = (struct thread_struct) { {{0}} };
14}