Eric Christopher | 16d482e | 2011-08-19 23:41:35 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s |
2 | |||||
3 | // CHECK-NOT: i32 6 | ||||
4 | struct QVectorTypedData { | ||||
5 | int size; | ||||
6 | unsigned int sharable : 1; | ||||
7 | unsigned short array[1]; | ||||
8 | }; | ||||
9 | |||||
10 | void foo(QVectorTypedData *X) { | ||||
11 | X->array[0] = 123; | ||||
12 | } |