This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / FrontendC++ / 2010-06-22-ZeroBitfield.cpp
blob9c4f2629f7482c89363928cc384fe9a3932dae35
1 // RUN: %llvmgxx -g -S %s
2 struct s8_0 { unsigned : 0; };
3 struct s8_1 { double x; };
4 struct s8 { s8_0 a; s8_1 b; };
5 s8 f8() { return s8(); }