summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr41257-2.C
blob: 230fa5dde49aa33c2d7b45774a2d28ae3d51eb19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do link } */

struct A
{
  virtual ~A();
};

struct B : virtual A
{
  virtual ~B() {}
};

int main()
{
  return 0;
}