------- Comment #2 from reichelt at gcc dot gnu dot org  2009-11-29 18:39 
-------
Shorter testcase (without default parameter):

=================================
struct A
{
  static const int N = 0;
};

template<int> struct B {};

template<typename T, int>
struct C
{
  typedef T U;
  B<U::N> b;
};

template<typename T>
struct C<T*, 0>
{
  B<T::N> b;
};

C<A*, 0> c;
=================================


-- 

reichelt at gcc dot gnu dot org changed:

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


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

Reply via email to