Skip to content

Commit 91876ea

Browse files
committed
[libc++] Increase the constexpr steps limit on some bitset tests.
Prevent these tests from failing on some platforms (the number of constexpr steps increased by https://reviews.llvm.org/D154860).
1 parent 6d1502c commit 91876ea

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

libcxx/test/std/utilities/template.bitset/bitset.members/op_or_eq.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=15000000
10+
911
// bitset<N>& operator|=(const bitset<N>& rhs); // constexpr since C++23
1012

1113
#include <bitset>

libcxx/test/std/utilities/template.bitset/bitset.members/right_shift_eq.pass.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
// ADDITIONAL_COMPILE_FLAGS(has-fconstexpr-steps): -fconstexpr-steps=15000000
10+
911
// bitset<N>& operator<<=(size_t pos); // constexpr since C++23
1012

1113
#include <bitset>

0 commit comments

Comments
 (0)