7.1 ICE

  • Thread starter Thread starter Stefan Slapeta
  • Start date Start date
S

Stefan Slapeta

Hi,

incorrect, but should not be an ICE:

template <typename T>
class XT {};

typedef XT<int> X;

class X{}; // ICE


Please could anybody verify whether it is fixed in 8.0?

Thanks, Stefan
 
c:\Test\ICE\ICE\ICE.cpp(12) : error C2371: 'X' : redefinition; different
basic types

c:\Test\ICE\ICE\ICE.cpp(10) : see declaration of 'X'

Ronald Laeremans

Visual C++ team
 
Back
Top