Skip to content

Commit bcb160b

Browse files
disable test for g++-15
1 parent 459f610 commit bcb160b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

libcxx/test/std/containers/associative/map/map.erasure/erase_if.pass.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,15 @@ bool test_upper() {
7979

8080
int main(int, char**) {
8181
assert(test_upper());
82+
8283
#if TEST_STD_VER >= 26
84+
#ifndef TEST_COMPILER_GCC
85+
// TODO: Fails with g++-15 with:
86+
// clang-format off
87+
// __tree:116:23: error: ‘‘result_decl’ not supported by dump_expr<expression error>’ is not a constant expression
88+
// clang-format on
8389
static_assert(test_upper());
90+
#endif
8491
#endif
8592

8693
return 0;

0 commit comments

Comments
 (0)