http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16375
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |jason at gcc dot gnu.org Resolution| |FIXED Target Milestone|--- |4.4.0 --- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2013-03-26 18:12:15 UTC --- typeof is deprecated in favor of C++11 decltype. The first testcase works in 4.4 if you use decltype instead of typeof. The second testcase is ill-formed because there is no 'this' outside of a member function/non-static data member initializer.