Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2003-11-27-ConstructorCast.c
blob15eb7694795198497e08b11a342cdd2adcf30b6e
1 // RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
3 struct i387_soft_struct {
4 long cwd;
5 };
6 union i387_union {
7 struct i387_soft_struct soft;
8 };
9 struct thread_struct {
10 union i387_union i387;
12 void _init_task_union(void) {
13 struct thread_struct thread = (struct thread_struct) { {{0}} };