Fix some non-standard parts of our test suite. Reported by STL
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -70,8 +70,14 @@
|
||||
#if TEST_STD_VER >= 11
|
||||
#define TEST_CONSTEXPR constexpr
|
||||
#define TEST_NOEXCEPT noexcept
|
||||
# if TEST_STD_VER >= 14
|
||||
# define TEST_CONSTEXPR_CXX14 constexpr
|
||||
# else
|
||||
# define TEST_CONSTEXPR_CXX14
|
||||
# endif
|
||||
#else
|
||||
#define TEST_CONSTEXPR
|
||||
#define TEST_CONSTEXPR_CXX14
|
||||
#define TEST_NOEXCEPT
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user