Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 91876ea

Browse files
committedJul 27, 2023
[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

Lines changed: 2 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
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)
Please sign in to comment.