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
m68k: replace reload_in_progress by reload_in_progress || lra_in_progress
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
lambda-generic-this3.C
blob
2bd287cc368b804a5c734b4ea7d53f06e0670d58
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
};