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

Eric Gallager <egallager at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-09-26
                 CC|                            |egallager at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Eric Gallager <egallager at gcc dot gnu.org> ---
Confirmed, with current gcc the diagnostic is:

$ /usr/local/bin/g++ -c -Wall -Wextra -pedantic 47342.cc
47342.cc:26:14: error: invalid use of incomplete type ‘struct X<Y<T> >’
 X< Y<T> >::f()    // xxx
              ^
47342.cc:2:8: note: declaration of ‘struct X<Y<T> >’
 struct X : T
        ^
$

...which could still be improved.

Reply via email to