Skip to content

Commit 663b468

Browse files
author
git apple-llvm automerger
committed
Merge commit '6c9f1ce42980' from llvm.org/main into next
2 parents 5f880bf + 6c9f1ce commit 663b468

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)