1 // PR c++/80026
2 // { dg-do compile { target c++11 } }
3 
g(int)4 void g(int) {}
g(bool)5 void g(bool){}
6 
7 template <class...S>
f(S...)8 void f(S...){}
9 
main()10 int main(){
11   f(&g);  // { dg-error "too many arguments" }
12 }
13