m68k: replace reload_in_progress by reload_in_progress || lra_in_progress
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / lambda-generic-this3.C
blob2bd287cc368b804a5c734b4ea7d53f06e0670d58
1 // PR c++/87685
2 // { dg-do compile { target c++14 } }
4 struct A
6   template <typename T> static void f(T) {}
7   void f() {}
9   void foo()
10   {
11     [] (auto&& v) { A::f(v); }; // OK if parameter type is specified
12   }