We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef190d commit 5e4acacCopy full SHA for 5e4acac
libcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge.pass.cpp
@@ -96,7 +96,13 @@ TEST_CONSTEXPR_CXX26 void test(RandSrc& randomness) {
96
test_one<Iter>(3, 2, randomness);
97
test_one<Iter>(3, 3, randomness);
98
test<Iter>(4, randomness);
99
- test<Iter>(100, randomness);
+ test<Iter>(50, randomness);
100
+#if defined(_LIBCPP_HARDENING_MODE)
101
+ if (!TEST_IS_CONSTANT_EVALUATED) // avoid exceeding the constant evaluation step limit
102
+#endif
103
+ {
104
+ test<Iter>(100, randomness);
105
+ }
106
if (!TEST_IS_CONSTANT_EVALUATED) { // avoid exceeding the constant evaluation step limit
107
test<Iter>(1000, randomness);
108
}
0 commit comments