1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 #ifndef TEST_META_UNARY_COMP_COMMON_H
10 #define TEST_META_UNARY_COMP_COMMON_H
12 #include "test_macros.h"
14 #if TEST_STD_VER >= 11
15 struct TrivialNotNoexcept
{
16 TrivialNotNoexcept() noexcept(false) = default;
17 TrivialNotNoexcept(const TrivialNotNoexcept
&) noexcept(false) = default;
18 TrivialNotNoexcept(TrivialNotNoexcept
&&) noexcept(false) = default;
19 TrivialNotNoexcept
& operator=(const TrivialNotNoexcept
&) noexcept(false) = default;
20 TrivialNotNoexcept
& operator=(TrivialNotNoexcept
&&) noexcept(false) = default;
39 A
& operator=(const A
&);
44 virtual ~Abstract() = 0;
47 #endif // TEST_META_UNARY_COMP_COMMON_H