[Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 11 15:58:00 GMT 2005


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-09-11 15:58 -------
Even shorter testcase:

================================
struct A { typedef int X; };

int i = typename A::X();
================================


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Keywords|                            |monitored
            Summary|[3.4/4.0/4.1 Regression] ICE|[3.4/4.0/4.1 Regression] ICE
                   |(on invalid)                |on typename outside template


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



More information about the Gcc-bugs mailing list