This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: egcs 1.1.2 bug (fwd)
- To: egcs-bugs at egcs dot cygnus dot com
- Subject: Re: egcs 1.1.2 bug (fwd)
- From: hjl at lucon dot org (H.J. Lu)
- Date: Wed, 17 Mar 1999 07:29:38 -0800 (PST)
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