Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/constexpr-lambda16.C

raw
1 // PR c++/80642
2 // { dg-do compile { target c++14 } }
3
4 int main()
5 {
6 [](auto i)
7 {
8 if (i)
9 {
10 int j;
11 static int k;
12 return i + j;
13 }
14 return i;
15 }(0);
16 }