1 // PR c++/27572 2 // { dg-do compile } 3 4 template<typedef> void foo(); // { dg-error "no type|typedef declaration|template" } 5 bar()6 void bar() 7 { 8 foo<int>(); // { dg-error "matching" } 9 } 10