From 3aa27eae3593f5672b200cd817737704a89dee8c Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Tue, 4 Oct 2016 22:33:48 -0400 Subject: [PATCH] * g++.dg/cpp1z/class-deduction16.C: Use tuple. From-SVN: r240766 --- gcc/testsuite/g++.dg/cpp1z/class-deduction16.C | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/gcc/testsuite/g++.dg/cpp1z/class-deduction16.C b/gcc/testsuite/g++.dg/cpp1z/class-deduction16.C index b32869f3fb6..9acf5d62efa 100644 --- a/gcc/testsuite/g++.dg/cpp1z/class-deduction16.C +++ b/gcc/testsuite/g++.dg/cpp1z/class-deduction16.C @@ -1,9 +1,8 @@ // { dg-options -std=c++1z } -template -struct A -{ - template A(Us&&...); -}; +#include -A a(1,2); +int main() +{ + std::tuple y{1,2,3}; +} -- 2.30.2