☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-this3.C
☽
☼
gcc/testsuite/g++.dg/cpp1y/lambda-generic-this3.C
code
plain
raw
1
// PR c++/87685
2
// { dg-do compile { target c++14 } }
3
4
struct A
5
{
6
template <typename T> static void f(T) {}
7
void f() {}
8
9
void foo()
10
{
11
[] (auto&& v) { A::f(v); }; // OK if parameter type is specified
12
}
13
};