https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91271

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Reduced:

template<unsigned long N> struct array { };

template<typename T> struct A; // incomplete

template<int N>
struct A<array<N>>
{
};

A<array<2>> a;

91271.cc:10:13: error: aggregate ‘A<array<2> > a’ has incomplete type and
cannot be defined
 A<array<2>> a;
             ^

*** This bug has been marked as a duplicate of bug 87108 ***

Reply via email to