1578d09c1SChristopher Di Bella //===----------------------------------------------------------------------===// 2578d09c1SChristopher Di Bella // 3578d09c1SChristopher Di Bella // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4578d09c1SChristopher Di Bella // See https://llvm.org/LICENSE.txt for license information. 5578d09c1SChristopher Di Bella // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6578d09c1SChristopher Di Bella // 7578d09c1SChristopher Di Bella //===----------------------------------------------------------------------===// 8578d09c1SChristopher Di Bella 9*d42d9e10SArthur O'Dwyer // UNSUPPORTED: c++03, c++11, c++14 10*d42d9e10SArthur O'Dwyer // ADDITIONAL_COMPILE_FLAGS: -D_LIBCPP_ENABLE_CXX20_REMOVED_RAW_STORAGE_ITERATOR 11578d09c1SChristopher Di Bella 12578d09c1SChristopher Di Bella // std::raw_storage_iterator 13578d09c1SChristopher Di Bella 14578d09c1SChristopher Di Bella #include <memory> 15578d09c1SChristopher Di Bella 16578d09c1SChristopher Di Bella std::raw_storage_iterator<int*, int> it(nullptr); 17578d09c1SChristopher Di Bella // expected-warning@-1{{'raw_storage_iterator<int *, int>' is deprecated}} 18