1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// PR target/38706 // { dg-do compile } // { dg-options "-O2" } class ios_base { public: virtual ~ios_base (); }; class istrstream:virtual public ios_base { public: virtual ~istrstream (); }; istrstream::~istrstream () {}