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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-03-29
     Ever confirmed|0                           |1

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed as diagnostic issue - the diagnostic isn't exactly helpful.  clang++
prints

> clang++ t.C -S
t.C:5:14: error: use 'template' keyword to treat 'dy' as a dependent template
      name
    return y.dy<X>();
             ^
             template

Reply via email to