summaryrefslogtreecommitdiffstats
path: root/Tests/CompileFeatures/cxx_generic_lambdas.cpp
blob: ae1b78edd81e675436850434657f6a7285f81d26 (plain)
1
2
3
4
5
6

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