================ @@ -238,3 +239,236 @@ void init_capture_init_list() { // CHECK: call {{.*}}dtor // CHECK: } } + +namespace P2718R0 { ---------------- shafik wrote:
Is it possible to also test the case where it does not clean up like in the proposal: ```cpp for (auto e : f2(g())) {} // undefined behavior ``` https://github.com/llvm/llvm-project/pull/76361 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits