* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-unify-3.C
blob45f4d636c455f6ef16959bf988fd5d08081ba1d7
1 // PR c++/80150
2 // { dg-do compile { target c++11 } }
4 template <typename R, typename... Args>
5 bool compare_functions(R(*funcA)(Args...), R(*funcB)(Args...), Args... args) {
6   return false;
9 int foo(int x) {
10   return x;
13 float foo(float x) {
14  return x;
17 int main() {
18   int a = 10;
19   compare_functions<int>(foo, foo, a);