summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb67.C
blob: bebe9959829e25067fe22ba7433697a94de66186 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
/*
Check whether a typedef for a basic type as a baseclass is diagnosed.
*/
typedef int an_int;
class bar : public an_int {}; // { dg-error "" } not an aggregate