Debian Codegraph @

gcc/testsuite/g++.dg/cpp1y/lambda-generic-ice9.C

raw
1 // PR c++/84802
2 // { dg-do compile { target c++14 } }
3
4 template <class T> struct A { };
5
6 void f (A<int>& ar)
7 {
8 [](const auto& x)
9 { return [x]{}(); }
10 (ar);
11 }