[Bug c++/16244] New: Bad use of 'class' keyword causes internal compiler error.

giles at spacepigs dot com gcc-bugzilla@gcc.gnu.org
Mon Jun 28 10:39:00 GMT 2004


/* 
Compile the following code with "g++ -c foo.cpp", and it spits out an internal 
compiler error in gcc 3.4 
 
*/ 
template class <class K> 
class Foo 
{ 
    
};

-- 
           Summary: Bad use of 'class' keyword causes internal compiler
                    error.
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: giles at spacepigs dot com
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list