Add and use DominatorTreeBase::findNearestCommonDominator().
[llvm-complete.git] / test / C++Frontend / 2007-04-05-PackedBitFieldsOverlap.cpp
blobad272c947d66f2e29419e1304040c28d98faab9f
1 // RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
4 #ifdef PACKED
5 #define P __attribute__((packed))
6 #else
7 #define P
8 #endif
10 struct P M_Packed {
11 unsigned int l_Packed;
12 unsigned short k_Packed : 6,
13 i_Packed : 15;
14 char c;
16 };
18 struct M_Packed sM_Packed;
20 int testM_Packed (void) {
21 struct M_Packed x;
22 return (x.i_Packed != 0);