summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb56.C
blob: 90932de465f9561845a3f693488d3a129a7a40d6 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// Error: Internal compiler error on 1998/05/28 snapshot.

class foo {
  public:
  typedef int sometype;
};

struct die : public foo::sometype { // { dg-error "" } invalid base type
};