According to my auto-simplifier the most common missed simplifications in
[llvm/stm8.git] / test / FrontendC++ / 2003-08-31-StructLayout.cpp
bloba45ad030e3cccbdaa2c01146f96709eeef5cc1b9
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
3 // There is a HOLE in the derived2 object due to not wanting to place the two
4 // baseclass instances at the same offset!
6 struct baseclass {};
8 class derived1 : public baseclass {
9 void * NodePtr;
12 class derived2 : public baseclass {
13 derived1 current;
16 derived2 RI;