Skip to content

Commit 6f514b2

Browse files
committed
fix libcxx test
1 parent f2e15e0 commit 6f514b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/test/libcxx/algorithms/cpp17_iterator_concepts.verify.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void check_forward_iterator_requirements() {
143143
// expected-note@*:* {{because 'not_default_constructible' does not satisfy '__cpp17_default_constructible'}}
144144
_LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(postincrement_not_ref, ""); // expected-error {{static assertion failed}}
145145
#ifndef _AIX
146-
// expected-note-re@*:* {{because type constraint 'convertible_to<{{(valid_iterator<postincrement_not_ref>::)?}}Proxy, const postincrement_not_ref &>' was not satisfied}}
146+
// expected-note-re@*:* {{because 'convertible_to<{{(valid_iterator<postincrement_not_ref>::)?}}Proxy, const postincrement_not_ref &>' evaluated to false}}
147147
#endif
148148
}
149149

@@ -173,7 +173,7 @@ void check_bidirectional_iterator_requirements() {
173173
_LIBCPP_REQUIRE_CPP17_BIDIRECTIONAL_ITERATOR(missing_postdecrement, ""); // expected-error {{static assertion failed}}
174174
// expected-note@*:* {{cannot decrement value of type 'missing_postdecrement'}}
175175
_LIBCPP_REQUIRE_CPP17_BIDIRECTIONAL_ITERATOR(not_returning_iter_reference, ""); // expected-error {{static assertion failed}}
176-
// expected-note-re@*:* {{because type constraint 'same_as<int, __iter_reference<not_returning_iter_reference>{{ ?}}>' was not satisfied}}
176+
// expected-note-re@*:* {{because 'same_as<int, __iter_reference<not_returning_iter_reference>{{ ?}}>' evaluated to false}}
177177
// clang-format on
178178
}
179179

0 commit comments

Comments
 (0)