OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / typedef3.C
1 // Test that inheriting from a type typedefed to itself works.
2 // Build don't link:
3
4 typedef struct class1 {
5     class1& operator=(const class1&);
6 } class1;
7
8 class class2 : public class1 { };