Home
last modified time | relevance | path

Searched refs:glambda (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp5-generic-lambda-1y.cpp50 auto glambda = [](auto a, auto&& b) ->bool { return a < b; }; in __anon7def28290602() variable
51 bool b = glambda(3, 3.14); // OK
/external/clang/test/SemaCXX/
Dcxx1y-generic-lambdas.cpp139 auto glambda = [](auto a) { return a; }; in test() local
140 glambda(1); in test()
141 f1(glambda); // OK in test()
142 f2(glambda); // expected-error{{no matching function}} in test()
143 g(glambda); // expected-error{{call to 'g' is ambiguous}} in test()
144 h(glambda); // OK: calls #3 since it is convertible from ID in test()