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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|                            |FIXED
   Target Milestone|---                         |4.7.0

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-11-17 
21:05:00 UTC ---
Fixed to say

x.C:3:14: error: trailing return type only available with -std=c++11 or
-std=gnu++11

Reply via email to