We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 183c919 commit 857c4d5Copy full SHA for 857c4d5
libcxx/test/std/containers/sequences/array/array.creation/to_array.verify.cpp
@@ -36,7 +36,7 @@ int main(int, char**) {
36
{
37
const MoveOnly cmo[] = {MoveOnly{3}};
38
// expected-error@array:* {{to_array requires move constructible elements}}
39
- // expected-error-re@array:* {{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
+ // expected-error-re@array:* 0-1{{{{(call to implicitly-deleted copy constructor of 'MoveOnly')|(call to deleted constructor of 'MoveOnly')}}}}
40
std::to_array(std::move(cmo)); // expected-note {{requested here}}
41
}
42
0 commit comments