1 // Compile with "cl /c /Zi /GR- ClassLayoutTest.cpp"
2 // Link with "link ClassLayoutTest.obj /debug /nodefaultlib /entry:main"
4 namespace MembersTest
{
7 typedef int NestedTypedef
;
16 double DoubleMemberVar
;
20 namespace GlobalsTest
{
31 namespace BaseClassTest
{
33 class B
: public virtual A
{};
34 class C
: public virtual A
{};
35 class D
: protected B
, private C
{};
38 namespace UdtKindTest
{
44 namespace BitFieldTest
{
55 int main(int argc
, char **argv
) {