mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-28 22:42:52 +01:00
488e273422
llvm-svn: 8252
15 lines
276 B
C++
15 lines
276 B
C++
// There is a HOLE in the derived2 object due to not wanting to place the two
|
|
// baseclass instances at the same offset!
|
|
|
|
struct baseclass {};
|
|
|
|
class derived1 : public baseclass {
|
|
void * NodePtr;
|
|
};
|
|
|
|
class derived2 : public baseclass {
|
|
derived1 current;
|
|
};
|
|
|
|
derived2 RI;
|