auto f() {
#ifndef _LIBCPP_VERSION
auto i = std::vector<bool>{}.begin();
// expected-warning@-1 {{object backing the pointer will be destroyed}}
#endif
in lifetime-integration-tests/lifetime-attr-test.cpp.
We correctly annotate the specialization with libstdc++.
See
in
lifetime-integration-tests/lifetime-attr-test.cpp
. We correctly annotate the specialization with libstdc++.