Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / FrontendC++ / 2005-02-14-BitFieldOffset.cpp
blob522e20a478dfbfd271eb2fd1e52790d6246fc1c3
1 // RUN: %llvmgxx %s -S -o - | not grep {i32 6}
3 struct QVectorTypedData {
4 int size;
5 unsigned int sharable : 1;
6 unsigned short array[1];
7 };
9 void foo(QVectorTypedData *X) {
10 X->array[0] = 123;