blob: 5b96451ccc91f431f1108dc0f5154e65aee99a10 (
plain)
1
2
3
4
5
6
7
8
|
// Test that inheriting from a type typedefed to itself works.
// Build don't link:
typedef struct class1 {
class1& operator=(const class1&);
} class1;
class class2 : public class1 { };
|