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-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
Analysis
/
lvalue.cpp
blob
7621139876631787406cb1e8e552b1f63602f0cb
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-store=region -verify %s
2
// expected-no-diagnostics
3
4
int
f1
() {
5
int
x
=
0
,
y
=
1
;
6
return
x
+=
y
;
// Should bind a location to 'x += y'. No crash.
7
}