OSDN Git Service

PR c++/54858
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / arg8.C
1 template<typename T, void, typename U> // { dg-error "void" }
2 void foo(T, U, int) {}
3
4 void bar()
5 {
6   foo(0, 0, 0);                 // { dg-error "no match" }
7 }