Lines Matching defs:B0
8 struct B0 { int a; B0() : a(0xf00000B0) { printf("B0 = %p\n", this); } virtual void f() { printf("B0"); } };
12 struct B1X { int a; B1X() : a(0xf00000B1) {} virtual void f() { printf("B0"); } };
15 struct A : virtual B0 {
22 // CHECK-NEXT: 4 | struct B0 (virtual base)
23 // CHECK-NEXT: 4 | (B0 vftable pointer)
31 // CHECK-X64-NEXT: 8 | struct B0 (virtual base)
32 // CHECK-X64-NEXT: 8 | (B0 vftable pointer)
37 struct B : virtual B0 {
44 // CHECK-NEXT: 4 | struct B0 (virtual base)
45 // CHECK-NEXT: 4 | (B0 vftable pointer)
52 // CHECK-X64-NEXT: 8 | struct B0 (virtual base)
53 // CHECK-X64-NEXT: 8 | (B0 vftable pointer)
58 struct C : virtual B0 {
66 // CHECK-NEXT: 8 | struct B0 (virtual base)
67 // CHECK-NEXT: 8 | (B0 vftable pointer)
75 // CHECK-X64-NEXT: 16 | struct B0 (virtual base)
76 // CHECK-X64-NEXT: 16 | (B0 vftable pointer)
81 struct D : virtual B2, virtual B0 {
93 // CHECK-NEXT: 12 | struct B0 (virtual base)
94 // CHECK-NEXT: 12 | (B0 vftable pointer)
105 // CHECK-X64-NEXT: 24 | struct B0 (virtual base)
106 // CHECK-X64-NEXT: 24 | (B0 vftable pointer)
111 struct E : B0, virtual B1 {
119 // CHECK-NEXT: 0 | struct B0 (primary base)
120 // CHECK-NEXT: 0 | (B0 vftable pointer)
131 // CHECK-X64-NEXT: 0 | struct B0 (primary base)
132 // CHECK-X64-NEXT: 0 | (B0 vftable pointer)
141 struct F : virtual B0, virtual B1 {
147 // CHECK-NEXT: 4 | struct B0 (virtual base)
148 // CHECK-NEXT: 4 | (B0 vftable pointer)
158 // CHECK-X64-NEXT: 8 | struct B0 (virtual base)
159 // CHECK-X64-NEXT: 8 | (B0 vftable pointer)