OSDN Git Service

2010-01-26 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / pr38706.C
1 // PR target/38706
2 // { dg-do compile }
3 // { dg-options "-O2" }
4
5 class ios_base
6 {
7 public:
8   virtual ~ios_base ();
9
10 };
11
12 class istrstream:virtual public ios_base
13 {
14 public:
15   virtual ~istrstream ();
16
17 };
18
19 istrstream::~istrstream () {}