Sign in
fuchsia
/
third_party
/
github.com
/
llvm
/
llvm-project
/
5369517d20dd362a178a1b2d6c398d8898ee4620
/
.
/
clang
/
test
/
Analysis
/
lvalue.cpp
blob: 7621139876631787406cb1e8e552b1f63602f0cb [
file
] [
log
] [
blame
]
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-store=region -verify %s
// expected-no-diagnostics
int
f1
()
{
int
x
=
0
,
y
=
1
;
return
x
+=
y
;
// Should bind a location to 'x += y'. No crash.
}