7 lines
185 B
C++
7 lines
185 B
C++
|
// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s
|
||
|
|
||
|
int f1() {
|
||
|
int x = 0, y = 1;
|
||
|
return x += y; // Should bind a location to 'x += y'. No crash.
|
||
|
}
|