blob: 74a598922944c55838677ca468b5b28339a7130d (
plain)
1
2
3
4
5
6
7
8
9
|
// PR c++/51367
template<typename T> void foo(T, T); // { dg-message "template" }
void bar(void* p)
{
foo(0, p); // { dg-error "no matching" }
}
// { dg-message "candidate|parameter 'T' ('int' and 'void*')" "" { target *-*-* } 7 }
|