summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr22358.C
blob: dbce0f8a1a7195ed19c32f0ce6fad9dec1d31abb (plain)
1
2
3
4
5
6
7
8
/* { dg-do compile } */

struct a
{
  virtual ~a();
};
struct b : virtual a { };
b a11;