================
@@ -372,6 +372,14 @@ void trivial_lambda() {
   trivial_lambda();
 }
 
+bool call_lambda_var_decl() {
+  RefCountable* ref_countable = make_obj();
+  auto lambda = [&]() -> bool {
+    return ref_countable->next();
+  };
+  return lambda();
+}
+
----------------
rniwa wrote:

Sure, added.

https://github.com/llvm/llvm-project/pull/135688
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to