//===----------------------------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11 #include #include #include "test_macros.h" static_assert(!noexcept(std::operator""s(std::declval(), std::declval())), ""); #ifndef TEST_HAS_NO_CHAR8_T static_assert(!noexcept(std::operator""s(std::declval(), std::declval())), ""); #endif static_assert(!noexcept(std::operator""s(std::declval(), std::declval())), ""); static_assert(!noexcept(std::operator""s(std::declval(), std::declval())), ""); #ifndef TEST_HAS_NO_WIDE_CHARACTERS static_assert(!noexcept(std::operator""s(std::declval(), std::declval())), ""); #endif