[Bug c++/37142] [4.2/4.3/4.4 Regression] ICE: in dependent_type_p, at cp/pt.c:15585

dodji at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 18 16:50:00 GMT 2008



------- Comment #4 from dodji at gcc dot gnu dot org  2008-11-18 16:49 -------
Here is a reduced testcase:

     1  template<typename T, const T a, template <typename U, U u> class W>
struct A {};
     2  
     3  template<typename T, const T t> struct B {};
     4  
     5  int
     6  main ()
     7  {
     8    A<long, 0, B> a;
     9    return 0;
    10  }
    11  


-- 

dodji at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list