repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[mlir][LLVM] `LLVMTypeConverter`: Tighten materialization checks (#116532)
[llvm-project.git]
/
clang
/
test
/
Analysis
/
z3
/
apsint.c
blob
3e5792bc40d0ad52384f2e4d0b33ca1a0638a0fe
1
// RUN: %clang_analyze_cc1 -triple x86_64-unknown-linux-gnu -analyzer-checker=core -verify %s
2
// expected-no-diagnostics
3
4
// https://bugs.llvm.org/show_bug.cgi?id=37622
5
_Bool
a
(
void
) {
6
return
!({
a
(); });
7
}
8
9
// https://bugs.llvm.org/show_bug.cgi?id=37646
10
_Bool b
;
11
void
c
(
void
) {
12
_Bool a
=
b
|
0
;
13
for
(;;)
14
if
(
a
)
15
;
16
}