Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/typedef3.C

raw
1 // { dg-do assemble }
2 // Test that inheriting from a type typedefed to itself works.
3
4 typedef struct class1 {
5 class1& operator=(const class1&);
6 } class1;
7
8 class class2 : public class1 { };