Skip to content

Commit 0c6222e

Browse files
erase_if g++-15 bug
1 parent 6679974 commit 0c6222e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,14 @@ int main(int, char**) {
8989
assert(test_erase());
9090

9191
#if TEST_STD_VER >= 26
92+
# ifndef TEST_COMPILER_GCC
93+
// FIXME: Fails with g++-15 with:
94+
// clang-format off
95+
// __tree:116:23: error: ''result_decl' not supported by dump_expr<expression error>' is not a constant expression
96+
// clang-format on
9297
static_assert(test_erase());
98+
# endif
9399
#endif
100+
94101
return 0;
95102
}

0 commit comments

Comments
 (0)