This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c++/9973: parse error with legal code
- From: scmvs at cs dot cf dot ac dot uk
- To: gcc-gnats at gcc dot gnu dot org
- Date: 6 Mar 2003 02:39:33 -0000
- Subject: c++/9973: parse error with legal code
- Reply-to: scmvs at cs dot cf dot ac dot uk
>Number: 9973
>Category: c++
>Synopsis: parse error with legal code
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Thu Mar 06 02:46:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: scmvs at cs dot cf dot ac dot uk
>Release: g++ (GCC) 3.2 (mingw special 20020817-1)
>Organization:
>Environment:
Win2K
>Description:
code
========
struct B {
template<class Q> void foo(Q x) { x.apply<int>(); }
};
========
produces
0.cpp: In member function `void B::foo(Q)':
0.cpp:13: parse error before `;' token
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: