Sign in
ara-mdk
/
platform
/
external
/
clang
/
f8ba81e8bbc4d0d424c3b4c3581a9467e972c4de
/
.
/
test
/
Analysis
/
lvalue.cpp
blob: 9a6bd5939743aea7cfc49479fa0d28f7f2528c61 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -analyze -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.
}