http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16093
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-20 01:31:39 UTC --- In all three cases on the trunk we get: t.cc:7:1: error: ‘var’ in namespace ‘n’ does not name a type t.cc:8:1: error: ‘foo’ in namespace ‘n’ does not name a type t.cc:9:1: error: ‘bar’ in namespace ‘n’ does not name a type