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

template <typename T> struct S {
  T i{[this] {}};		// { dg-error "cannot convert" }
};

S<int> s;			// { dg-message "required" }