1 // DR 1391 2 3 template<class T> struct A { 4 typename T::N n; 5 }; 6 template<class T> struct B { }; 7 8 template<class T, class T2> 9 void foo(const A<T>& r); // #1 10 template<class T> 11 void foo(const B<T>& r); // #2 12 baz()13void baz() { 14 B<char> b; 15 foo(b); // OK 16 foo<char>(b); // error 17 } 18