Lines Matching refs:lam
900 auto lam = [=](auto a) { f(a); }; // captures 'this' in g() local
901 lam(0); // ok. in g()
902 lam(0.0); // ok. in g()
906 auto lam = [](auto a) { f(a); }; // expected-error{{'this'}} in g2() local
907 lam(0); // expected-note{{in instantiation of}} in g2()
908 lam(0.0); // ok. in g2()
1031 auto lam = [=](auto a) { f(a); }; in g() local
1032 lam(0); // ok. in g()
1033 ASSERT_NO_CAPTURES(lam); in g()
1063 auto lam = [](auto a) { f(a, a); }; in g() local
1064 lam(0); in g()