2017-04-16 16:02:28 +00:00
|
|
|
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-store=region -verify %s
|
2012-12-02 13:20:44 +00:00
|
|
|
// expected-no-diagnostics
|
2011-02-20 13:06:31 +00:00
|
|
|
|
|
|
|
int f1() {
|
|
|
|
int x = 0, y = 1;
|
|
|
|
return x += y; // Should bind a location to 'x += y'. No crash.
|
|
|
|
}
|