1 // PR c++/16224 2 3 namespace io { 4 template <typename> int foo(); 5 } 6 7 using namespace io; 8 9 template<> int foo<int>(); // { dg-error "" } 10 11 int a = foo<int>(); 12