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
/
cpp0x
/
variadic52.C
blob
28ef857120398484c59443789aa6dbdd20c6cda0
1
// { dg-do compile { target c++11 } }
2
template<typename T, T... Values>
3
struct vector_c { };
4
5
vector_c<int, 1, 2, 3> v1;
6
vector_c<char, 'a', 'b', 'c'> v2;
7
vector_c<long, 1u, 2, 3l> v3;