This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45374] template keyword incorrectness// failure to parse valid code.
- From: "redi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2010 22:01:40 -0000
- Subject: [Bug c++/45374] template keyword incorrectness// failure to parse valid code.
- References: <bug-45374-19329@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from redi at gcc dot gnu dot org 2010-08-23 22:01 -------
(In reply to comment #2)
>
> BTW, Visual Studio (2010) has different behavior -- it accepts both of the
> statements in main(), even though they require different parse trees.
EDG (Comeau) also accepts them both.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45374