Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2007-02-04-AddrLValue-2.c
blob90251e6debdfcc88c76f4ec69ee66159df9b0d32
1 // RUN: %llvmgcc %s -O3 -S -o - -emit-llvm
2 // PR1173
4 struct S { char s; };
5 struct T { struct S t; };
7 struct S *const p = &((struct T * const) (0x4000))->t;
9 void
10 foo (void)
12 p->s = 0;