Skip to content

Commit 1e8217b

Browse files
Disable move_alloc and move_assign
1 parent cb17e4e commit 1e8217b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

libcxx/test/std/containers/associative/multimap/multimap.cons/move_alloc.pass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ bool test() {
155155
}
156156
int main(int, char**) {
157157
test();
158-
159158
#if TEST_STD_VER >= 26
160-
static_assert(test());
159+
// FIXME: Within __tree, it is not allowed to move from a `const MoveOnly` which prevents this from executing during constant evaluation
160+
// static_assert(test());
161161
#endif
162162
}

libcxx/test/std/containers/associative/multimap/multimap.cons/move_assign.pass.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ int main(int, char**) {
104104
test();
105105

106106
#if TEST_STD_VER >= 26
107-
static_assert(test());
107+
// FIXME: Within __tree, it is not allowed to move from a `const MoveOnly` which prevents this from executing during constant evaluation
108+
// static_assert(test());
108109
#endif
109110
}

0 commit comments

Comments
 (0)