Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / spec17.C
blob237557684238f7270be6235fef873c7d32973f0b
1 // PR c++/16224
3 namespace io { 
4   template <typename> int foo(); // { dg-error "" }
5
6  
7 using namespace io; 
8  
9 template<> int foo<int>(); // { dg-error "" }
11 int a = foo<int>();