http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16375
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|typeof() in class |decltype in class |definition |definition --- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-02 00:19:14 UTC --- The first testcase works on the trunk while the second still does not even when using decltype. t788.cc:4:15: error: invalid use of ‘this’ at top level t788.cc:5:15: error: invalid use of ‘this’ at top level