Merged r158704 through r158906 into branch.
[official-gcc.git] / gcc / testsuite / g++.dg / template / typedef4.C
blob2676d8fec1df467097d3fe1ab3c0709c49909e34
1 // PR c++/27572
2 // { dg-do compile }
4 template<typedef> void foo();  // { dg-error "no type|typedef declaration|template" }
6 void bar()
8   foo<int>();                  // { dg-error "matching" }