re PR c/89525 (inform messages from -Wbuiltin-declaration-mismatch even with -w)
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb56.C
blob90932de465f9561845a3f693488d3a129a7a40d6
1 // { dg-do assemble  }
2 // Error: Internal compiler error on 1998/05/28 snapshot.
4 class foo {
5   public:
6   typedef int sometype;
7 };
9 struct die : public foo::sometype { // { dg-error "" } invalid base type