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