This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2010-06-22-BitfieldInit.cpp
blob8dceb78bfc67f183de44f8480646a9ab7a708de2
1 // RUN: %llvmgxx -g -S %s
2 struct TEST2
4 int subid:32;
5 int :0;
6 };
8 typedef struct _TEST3
10 TEST2 foo;
11 TEST2 foo2;
12 } TEST3;
14 TEST3 test =
16 {0},
17 {0}
20 int main() { return 0; }