☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
var-templ49.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/var-templ49.C
code
plain
raw
1
// PR c++/66786
2
// { dg-do compile { target c++14 } }
3
4
int f (int, bool);
5
6
template <typename>
7
auto list = [](auto... xs) { return [=](auto f, auto... ys) { return f(xs..., ys...); }; };
8
9
const int &a = list<int>(0)(f, true);