forked from OSchip/llvm-project
7 lines
187 B
C++
7 lines
187 B
C++
|
// RUN: %clang_cc1 -analyze -analyzer-check-objc-mem -analyzer-store=region -verify %s
|
||
|
|
||
|
int f1() {
|
||
|
int x = 0, y = 1;
|
||
|
return x += y; // Should bind a location to 'x += y'. No crash.
|
||
|
}
|