blob: 36f341f3d02ed4121822aacc07e714eaba60f515 (
plain)
1
2
3
4
5
6
7
8
|
// { dg-options "-std=gnu++0x" }
template<typename..., typename> void foo(); // { dg-message "note" }
void bar()
{
foo<int>(); // { dg-error "no matching function" }
// { dg-message "candidate" "candidate note" { target *-*-* } 6 }
}
|