Skip to content

Commit 06ae9aa

Browse files
author
git apple-llvm automerger
committed
Merge commit 'd618b40e5e86' from llvm.org/release/21.x into stable/21.x
2 parents af9789a + d618b40 commit 06ae9aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/test/Analysis/cxx23-assume-attribute.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,5 @@ int assume_and_fallthrough_at_the_same_attrstmt(int a, int b) {
7373
void assume_opaque_gh151854_no_crash() {
7474
extern bool opaque();
7575
[[assume(opaque())]]; // no-crash
76+
// expected-warning@-1 {{assumption is ignored because it contains (potential) side-effects}}
7677
}

0 commit comments

Comments
 (0)