diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/other/pr38706.C')
-rw-r--r-- | gcc/testsuite/g++.dg/other/pr38706.C | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/other/pr38706.C b/gcc/testsuite/g++.dg/other/pr38706.C new file mode 100644 index 000000000..ec10d90ba --- /dev/null +++ b/gcc/testsuite/g++.dg/other/pr38706.C @@ -0,0 +1,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 () {} |