OSDN Git Service

PR c++/52685
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / error47.C
1 // PR c++/51367
2
3 template<typename T> void foo(T, T); // { dg-message "template" }
4
5 void bar(void* p)
6 {
7   foo(0, p); // { dg-error "no matching" }
8 }
9 // { dg-message "candidate|parameter 'T' ('int' and 'void*')" { target *-*-* } 7 }