Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-this3.C
blob: 2bd287cc368b804a5c734b4ea7d53f06e0670d58 [
file
] [
log
] [
blame
]
// PR c++/87685
// { dg-do compile { target c++14 } }
struct
A
{
template
<
typename
T
>
static
void
f
(
T
)
{}
void
f
()
{}
void
foo
()
{
[]
(
auto
&&
v
)
{
A
::
f
(
v
);
};
// OK if parameter type is specified
}
};