This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs 1.1.2 bug (fwd)


Anyway, here is a probable bug, for your pleasure! (MSVC and many
other compilers accept this - I didn't look at the official grammar all
the same).

class x
{
};

int
a()
{
    throw(x()); // This won't compile.
    //throw x(); // This will
}

> H.J.

Matthew
-- 
Matthew Newhook				E-Mail: mailto:matthew@ooc.com
Software Designer			WWW:    http://www.ooc.com
Object Oriented Concepts, Inc.		Phone:  (978) 439 9285 x 246


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]