diff options
Diffstat (limited to 'libcxx/test/std/algorithms/alg.modifying.operations')
-rw-r--r-- | libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp index 5fc6633..85d12d0 100644 --- a/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp +++ b/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/stable_partition.pass.cpp @@ -282,6 +282,9 @@ test() assert(array[9] == P(0, 2)); } #if TEST_STD_VER >= 11 && !defined(TEST_HAS_NO_EXCEPTIONS) + // TODO: Re-enable this test once we're no longer using get_temporary_buffer(). + // For now it trips up GCC due to the use of always_inline. +#if 0 { // check that the algorithm still works when no memory is available std::vector<int> vec(150, 3); vec[5] = 6; @@ -297,6 +300,7 @@ test() assert(std::is_partitioned(vec.begin(), vec.end(), [](int i) { return i < 5; })); getGlobalMemCounter()->reset(); } +#endif #endif // TEST_STD_VER >= 11 && !defined(TEST_HAS_NO_EXCEPTIONS) } |