* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr57981.C
blob33f46371eb7faf207d074e2079b64091db0b536d
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-Wall -Wextra" }
4 template<class T>
5 void f(T t, void* = 0)  // { dg-warning "unused parameter" }
9 template<class T>
10 auto g(T t) -> decltype(f(t))
12   f(t);
15 int main()
17   g(0);