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
/
variadic167.C
blob
cada9725090ad309926fa94a0382ada49da69d52
1
// PR c++/69743
2
// { dg-do compile { target c++11 } }
3
4
template <typename D, typename... T>
5
void f(int, T... d)
6
{
7
}
8
9
template <typename D, typename... T>
10
void f(T... d)
11
{
12
f<D>(1, d...);
13
}
14
15
void g(void)
16
{
17
f<long>(1.0);
18
}