* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic94.C
blobf5f3228f81707b6b2589b7ec16b7dd7e652756e2
1 // PR c++/40595
2 // { dg-do compile { target c++11 } }
4 template<int N>
5 struct S
7     typedef int type;
8 };
10 template<typename T>
11 struct Get
13     static T get();
16 template<typename F>
17 struct B
19     template<typename ... Args>
20         typename S<sizeof( Get<F>::get() (Get<Args>::get() ...) )>::type
21         f(Args&& ... a);
24 struct X
26     bool operator()(int) const;
29 int main()
31     B<X> b;
32     b.f(1);