This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24200] New: Error recovery problem after spurious "typename"
- From: "debian-gcc at lists dot debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2005 20:57:56 -0000
- Subject: [Bug c++/24200] New: Error recovery problem after spurious "typename"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[ forwarded from http://bugs.debian.org/325545 ]
This ill-formed code makes g++ ICE:
template <int> struct foo;
template<>
struct foo<0>
{
typedef int t;
};
int main()
{
1 << typename foo<0>::t(42);
}
--
Summary: Error recovery problem after spurious "typename"
Product: gcc
Version: 3.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: debian-gcc at lists dot debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24200