1 // PR c++/28293 2 3 template<int> void foo(); 4 5 struct A 6 { 7 typedef void foo<0>(); // { dg-error "explicit template argument list not allowed" } 8 }; 9