Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC / 2006-09-11-BitfieldRefCrash.c
blobd06cc3afbf3d73a91af9c80e68e5ce2bd07c51e6
1 // RUN: %llvmgcc %s -S -o -
2 // PR906
4 struct state_struct {
5 unsigned long long phys_frame: 50;
6 unsigned valid : 2;
7 } s;
9 int mem_access(struct state_struct *p) {
10 return p->valid;