10 B (int aa
, int bb
): A (aa
), b(bb
) {}
23 struct Derived
: public Alpha
27 struct VirtuallyDerived
: public virtual Alpha
31 struct DoublyDerived
: public VirtuallyDerived
,
47 struct LeftRight
: public Left
, public Right
52 main (int argc
, char **argv
)
54 A
*a
= new B(42, 1729);
60 DoublyDerived doublyderived
;
63 Alpha
*add
= &doublyderived
;
68 unsigned long long gd_value
= (unsigned long long) &gd
;
69 unsigned long long r_value
= (unsigned long long) (Right
*) &gd
;
71 return 0; /* breakpoint spot: casts.exp: 1 */