2 // Test that the cleanup for fully-constructed subobjects when a
3 // constructor throws gets the right address for a virtual base.
14 ~VBase() { if (p != this) r = 1; }
19 virtual ~StreamBase() {}
22 struct Stream : public virtual VBase, public StreamBase
28 struct DerivedStream : public Stream
30 DerivedStream() { throw 1; }