blob: 99d66826622036ead81b75d7f88bb06154e91246 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
2
3// There is a HOLE in the derived2 object due to not wanting to place the two
4// baseclass instances at the same offset!
5
6struct baseclass {};
7
8class derived1 : public baseclass {
9 void * NodePtr;
10};
11
12class derived2 : public baseclass {
13 derived1 current;
14};
15
16derived2 RI;