blob: 78d8d33e8744012c3b069cd3a8f951a0209a8c4a [file] [log] [blame]
Chris Lattner483cb512003-08-31 06:53:05 +00001// There is a HOLE in the derived2 object due to not wanting to place the two
2// baseclass instances at the same offset!
3
4struct baseclass {};
5
6class derived1 : public baseclass {
7 void * NodePtr;
8};
9
10class derived2 : public baseclass {
11 derived1 current;
12};
13
14derived2 RI;