A8.6.92 MCR (Encoding A1): if coproc == '101x' then SEE "Advanced SIMD and VFP"
[llvm/stm8.git] / test / FrontendC++ / 2007-04-05-PackedBitFields-1.cpp
blob174dddf6ab650f982d3084399e38e6da666cb4ee
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
3 #ifdef PACKED
4 #define P __attribute__((packed))
5 #else
6 #define P
7 #endif
9 struct P M_Packed {
10 unsigned int l_Packed;
11 unsigned short k_Packed : 6,
12 i_Packed : 15,
13 j_Packed : 11;
15 };
17 struct M_Packed sM_Packed;
19 int testM_Packed (void) {
20 struct M_Packed x;
21 return (x.i_Packed != 0);