mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 12:00:11 -05:00
12 lines
165 B
C
12 lines
165 B
C
// PR c++/84802
|
|
// { dg-do compile { target c++14 } }
|
|
|
|
template <class T> struct A { };
|
|
|
|
void f (A<int>& ar)
|
|
{
|
|
[](const auto& x)
|
|
{ return [x]{}(); }
|
|
(ar);
|
|
}
|