================ @@ -3214,6 +3220,117 @@ TEST_P(UncheckedOptionalAccessTest, Bitfield) { } )"); } + +TEST_P(UncheckedOptionalAccessTest, Lambda) { ---------------- ymand wrote: Please split these into individual tests. https://github.com/llvm/llvm-project/pull/68558