Skip to content

Commit 5661f2b

Browse files
committed
Disable variant_default_construct_cx_4, _5 on Clang < 18 as well
1 parent 9d913eb commit 5661f2b

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

test/variant_default_construct_cx_4.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
BOOST_PRAGMA_MESSAGE("Skipping constexpr destructor test because __cpp_constexpr_dynamic_alloc < 201907L")
1212
int main() {}
1313

14+
#elif defined(BOOST_CLANG) && BOOST_CLANG_VERSION < 180000
15+
16+
BOOST_PRAGMA_MESSAGE("Skipping constexpr destructor test because BOOST_CLANG_VERSION < 180000")
17+
int main() {}
18+
1419
#else
1520

1621
using namespace boost::variant2;

test/variant_default_construct_cx_5.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ int main() {}
1515
BOOST_PRAGMA_MESSAGE("Skipping constexpr destructor test because BOOST_MSVC < 1950")
1616
int main() {}
1717

18+
#elif defined(BOOST_CLANG) && BOOST_CLANG_VERSION < 180000
19+
20+
BOOST_PRAGMA_MESSAGE("Skipping constexpr destructor test because BOOST_CLANG_VERSION < 180000")
21+
int main() {}
22+
1823
#else
1924

2025
using namespace boost::variant2;

0 commit comments

Comments
 (0)