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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |rejects-valid
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-04-03
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
G++ says

t.C:11:16: error: invalid use of incomplete type ‘class Base<T>’
 void B<T>::foo() {
                ^
t.C:2:7: note: declaration of ‘class Base<T>’
 class Base {
       ^~~~

Reply via email to