summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/p8825.C
blob: f6748996cd7fb0046f92dde3642865f8e849ad3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// prms-id: 8825

class A {
  typedef A x;
};

class B {
  typedef B x;
};

class C : public A, public B {
  typedef C x;
};