1 // { dg-do compile { target c++11 } }
2 template<typename..., typename> void foo(); // { dg-message "note" }
3 
bar()4 void bar()
5 {
6   foo<int>(); // { dg-error "no matching function" }
7   // { dg-message "(candidate|deduce template parameter)" "candidate note" { target *-*-* } .-1 }
8 }
9