Skip to content

Commit 3aee9c7

Browse files
cor3ntintru
authored andcommitted
[libc++] Fix tests after #144220
This is a backport of the test fixes made in #151935 Fixes #150601
1 parent e239f1f commit 3aee9c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,9 @@ void test() {
124124
#if _LIBCPP_HAS_EXCEPTIONS
125125
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
126126
// expected-error-re@*:* {{call to deleted constructor of{{.*}}}}
127-
// expected-error-re@*:* 1-2{{call to deleted constructor of{{.*}}}}
128-
// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
129127
#endif
128+
// These diagnostics can also additionally be produced by static_assert (see GH150601).
129+
// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
130+
// expected-error-re@*:* 0-2{{call to deleted constructor of{{.*}}}}
130131
}
131132
// clang-format on

0 commit comments

Comments
 (0)