SRWMRBD@windy.dsir.govt.nz (ROBERT) (08/30/89)
/*
Bug in MsDos version of Glockenspiel C++ (latest version)
I am using a PC with Glockenspiel C++ and Microsoft C5.1. I get a C
syntax error with the following code. The problem goes away if I swap
the order of the 2 class statements or replace double by int or delete
the AAA initialiser.
*/
class AAA;
class XXX { public: AAA operator-(double); };
class AAA { public: AAA(AAA&); };
void test1()
{
XXX x; double f=1;
AAA sr=x-f;
}