From: Jason Merrill Date: Wed, 5 Oct 2016 02:33:48 +0000 (-0400) Subject: * g++.dg/cpp1z/class-deduction16.C: Use tuple. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3aa27eae3593f5672b200cd817737704a89dee8c;p=gcc.git * g++.dg/cpp1z/class-deduction16.C: Use tuple. From-SVN: r240766 --- 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}; +}