[comp.lang.c++] Why doesn't this work

sipi@wmt.UUCP (Silvain Piree) (02/12/90)

	class x {};
	typedef x y;
	class z: y {};

Why doesn't this work? The C++ translator (AT&T Cfront) says:
"line 4: error: base class x undefined".

Isn't it possible to use a typedef-name when declaring inheritance?


                                           Silvain Piree