* g++.dg/cpp1z/class-deduction16.C: Use tuple.
authorJason Merrill <jason@gcc.gnu.org>
Wed, 5 Oct 2016 02:33:48 +0000 (22:33 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 5 Oct 2016 02:33:48 +0000 (22:33 -0400)
From-SVN: r240766

gcc/testsuite/g++.dg/cpp1z/class-deduction16.C

index b32869f3fb644d2c522b147c9105316988c1271b..9acf5d62efa9bb4d31028b33029403a72b2d4fb5 100644 (file)
@@ -1,9 +1,8 @@
 // { dg-options -std=c++1z }
 
-template <class... T>
-struct A
-{
-  template <class...Us> A(Us&&...);
-};
+#include <tuple>
 
-A a(1,2);
+int main()
+{
+  std::tuple y{1,2,3};
+}