//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // REQUIRES: std-at-least-c++26 // TODO: Update test after https://llvm.org/PR121414 lands. // ADDITIONAL_COMPILE_FLAGS(gcc-style-warnings): -Wno-deprecated-volatile // ADDITIONAL_COMPILE_FLAGS: -Wno-deprecated-volatile // constexpr address-return-type address() const noexcept; #include #include #include #include #include #include "atomic_helpers.h" #include "test_macros.h" template