Skip to content

Commit 6d4730e

Browse files
committed
Fixed libcxx tests. Added support for trunk clang version.
1 parent d5be40c commit 6d4730e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libcxx/test/libcxx/utilities/expected/expected.expected/value.observers.verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void test() {
125125
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
126126
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
127127
// expected-error-re@*:* 1-2{{call to deleted constructor of{{.*}}}}
128-
// expected-error-re@*:* 1-2{{call to deleted constructor of{{.*}}}}
128+
// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
129129
#endif
130130
}
131131
// clang-format on

libcxx/test/std/containers/sequences/array/array.creation/to_array.verify.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ int main(int, char**) {
3535
{
3636
const MoveOnly cmo[] = {MoveOnly{3}};
3737
// expected-error@array:* {{to_array requires move constructible elements}}
38-
// expected-error-re@array:* {{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
38+
// expected-error-re@array:* 0-1{{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
3939
std::to_array(std::move(cmo)); // expected-note {{requested here}}
4040
}
4141

0 commit comments

Comments
 (0)