blob: 9a6bd5939743aea7cfc49479fa0d28f7f2528c61 [file] [log] [blame]
Argyrios Kyrtzidisc4d2c902011-02-28 19:49:42 +00001// RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s
Andy Gibbs8e8fb3b2012-10-19 12:44:48 +00002// expected-no-diagnostics
Zhongxing Xuf9d3cbb2011-01-10 03:54:19 +00003
4int f1() {
5 int x = 0, y = 1;
6 return x += y; // Should bind a location to 'x += y'. No crash.
7}