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