* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / variadic-init2.C
blob8d5228c93cd29188f65c9a8e271f1986e3f44893
1 // { dg-do compile { target c++11 } }
3 struct MoveOnly {
4   MoveOnly() = default;
5   MoveOnly(MoveOnly const&) = delete;
6   MoveOnly(MoveOnly&&) = default;
7 };
9 struct StoresMoveOnly {
10   StoresMoveOnly() {}
11   ~StoresMoveOnly() = default;
12     
13   MoveOnly value;
16 template <class ...Args> void test(Args... args) {
17   StoresMoveOnly s(args...);
20 int main() { test(); }