24 class Derived
: public virtual Base
34 Derived::Derived(int i
) : Base(i
)
37 /* The next statement is spread over two lines on purpose to exercise
38 a bug where breakpoints set on all but the last line of a statement
39 would not get multiple breakpoints.
40 The second line's text for gdb_get_line_number is a subset of the
41 first line so that we don't care which line gdb prints when it stops. */
42 this->i2
= // set breakpoint here
51 class DeeplyDerived
: public Derived
54 DeeplyDerived(int i
) : Base(i
), Derived(i
) {}
59 /* Invokes the Derived ctor that constructs both
62 /* Invokes the Derived ctor that constructs only
63 Derived. Base is constructed separately by
64 DeeplyDerived's ctor. */