[Bug c++/10398] [3.4 regression] ICE with missing typename keyword

reichelt@gcc.gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 2 10:17:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10398


reichelt@gcc.gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |error-recovery
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-02 10:17:08
               date|                            |


------- Additional Comments From reichelt@gcc.gnu.org  2003-06-02 10:17 -------
Here's a shorter testcase:

----------------------------------------------------
struct A
{
    template <typename> struct B {};
};

template <typename T> struct C
{
    C() { A::template B<T> b; } // missing typename
};

C<void> c;
----------------------------------------------------




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Gcc-bugs mailing list