http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14258
--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> --- That example's a bit misleading, because 'int' really isn't a class, namespace or enumeration, but the error's wrong because there could be a specialization of A<>, and the same error is produced even if A<T>::type is a class type. Fabien, the fix doesn't seem to work with nested-name-specifiers, do you remember if there's another bug report about that case?