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