(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
lambda/
lambda-ice29.C
// PR c++/84618
// { dg-do compile { target c++11 } }

template <int>
struct S {
  void b() const;
  void b() { [b] {}; } // { dg-error "15:capture of non-variable" }
};