Sign in
llvm
/
llvm-project
/
41a94de75caacb979070ec7a010dfe3c4e9f116f
/
.
/
clang
/
test
/
Analysis
/
lvalue.cpp
blob: 622f7a19f1d97e9bc2aa0731add25ab71f9bb639 [
file
]
// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
// expected-no-diagnostics
int
f1
()
{
int
x
=
0
,
y
=
1
;
return
x
+=
y
;
// Should bind a location to 'x += y'. No crash.
}