------- Comment #4 from jason at gcc dot gnu dot org 2009-11-12 04:59 -------
This issue isn't limited to C++0x mode:
struct A
{
typedef int Type;
};
template <class T>
typename T::Type f ();
template <class T>
char (* g())[sizeof(f<T>())];
int main()
{
g<A>();
}
--
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[c++0x] can't mangle |can't mangle template-id
|template-id g<N>(t) |g<N>(t)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38712