(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp1z/
constexpr-lambda16.C
// PR c++/80642
// { dg-do compile { target c++14 } }

int main()
{
  [](auto i)
    {
      if (i)
        {
	  int j;
	  static int k;
	  return i + j;
        }
      return i;
    }(0);
}