projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f164472
)
* g++.dg/cpp1z/class-deduction16.C: Use tuple.
author
Jason Merrill
<jason@gcc.gnu.org>
Wed, 5 Oct 2016 02:33:48 +0000
(22:33 -0400)
committer
Jason 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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/cpp1z/class-deduction16.C
b/gcc/testsuite/g++.dg/cpp1z/class-deduction16.C
index b32869f3fb644d2c522b147c9105316988c1271b..9acf5d62efa9bb4d31028b33029403a72b2d4fb5 100644
(file)
--- 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 <class... T>
-struct A
-{
- template <class...Us> A(Us&&...);
-};
+#include <tuple>
-A a(1,2);
+int main()
+{
+ std::tuple y{1,2,3};
+}