Skip to content

Commit 89000dd

Browse files
author
git apple-llvm automerger
committed
Merge commit '3aee9c737197' from llvm.org/release/21.x into stable/21.x
2 parents 190ae01 + 3aee9c7 commit 89000dd

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)