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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Analysis
/
symbol-simplification-bo-div.c
blob
122ad4083b1dfc0b020b8875cef8b039adac70ab
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core %s \
2
// RUN: -triple x86_64-pc-linux-gnu -verify
3
4
// don't crash
5
// expected-no-diagnostics
6
7
int
a
,
b
;
8
int
c
(
void
) {
9
unsigned
d
=
a
;
10
--
d
;
11
short
e
=
b
/
b
-
a
;
12
++
e
;
13
return
d
<=
0
&&
e
&&
e
;
14
}