[clang] [libcxx] [libc++][Clang] Updated the diagnostics checks in libc++ tests. (PR #144220)
Shamshura Egor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 16 00:40:44 PDT 2025
================
@@ -28,14 +28,15 @@ int main(int, char**) {
{
MoveOnly mo[] = {MoveOnly{3}};
// expected-error at array:* {{to_array requires copy constructible elements}}
- // expected-error-re at array:* {{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
+ // expected-error-re at array:* 0-1{{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
+ // expected-error at array:* 0-1{{call to deleted constructor of 'MoveOnly'}}
----------------
egorshamshura wrote:
The same thing as above
https://github.com/llvm/llvm-project/pull/144220
More information about the cfe-commits
mailing list