CMake/Tests/CompileFeatures/cxx_generic_lambdas.cpp

7 lines
86 B
C++

int someFunc()
{
auto identity = [](auto a) { return a; };
return identity(0);
}