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
/
alias-decl-33a.C
blob
a1c442eabeba80b01559a2bc558db87ac5080ade
1
// PR c++/51239
2
// { dg-require-effective-target c++11 }
3
// This variant should work because tail is equivalent to list.
4
5
template<class y, class... x>
6
class list{};
7
template<class a, class... b>
8
using tail=list<a, b...>;
9
template <class...T>
10
void f(tail<T...>);
11
12
int main()
13
{
14
f<int,int>({});
15
}