[gnu.g++.bug] g++ 1.36.2- doesn't handle typedefs properly

chatty%FRLRI61.BITNET@CUNYVM.CUNY.EDU (11/29/89)

// g++ 1.36.2- (with the various posted patches) refuses to compile the
// following code:


class A {
public:
        A (int);
};

typedef A B;

B
foo ()
{
        return B (0);
}

// % g++ -c a.cc
// a.cc: In function class A foo ():
// a.cc:11: no member function `A::B'


// Stephane Chatty              chatty@lri.lri.fr
//                      chatty@frlri61.bitnet