summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr38706.C
blob: ec10d90ba6951c2d2015d2572fe5774147224c49 (plain)
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 () {}