Debian Codegraph @

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

raw
1 // PR c++/82230
2 // { dg-do compile { target c++14 } }
3
4 template <class>
5 struct c
6 {
7 template <class>
8 void f()
9 {
10 [](auto) { auto x = [] {}; }(0);
11 }
12 };
13 int main()
14 {
15 c<int>{}.f<int>();
16 }