summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/local1.C
blob: a51d50be737b8bcefeb3e1c428546f1524e5356e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do link  }

struct Outer {
  virtual ~Outer() {}
};

int
main()
{
  { struct Inner : virtual public Outer {} inner; }
  { struct Inner : virtual public Outer {} inner; }
}