repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
concepts
/
auto3.C
blob
7b80fe314b8abaa1a13c3dbc200d40b29f6ca3da
1
// { dg-options "-std=c++17 -fconcepts" }
2
3
template <class...> class tuple {};
4
5
tuple<int> t;
6
tuple<auto> y = t;
7
8
tuple<int,double> t2;
9
tuple<auto...> x = t2;
10
tuple<auto...> x2 = t;
11
12
tuple<auto> y2 = t2; // { dg-error "" }