1 2 3 4 5 6 7 8 9 10
// PR c++/18738 namespace foo { typedef int my_type; } template<typename T> struct A { typename foo::my_type bar(); };