Argyrios Kyrtzidis | c4d2c90 | 2011-02-28 19:49:42 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -analyze -analyzer-checker=core -analyzer-store=region -verify %s |
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 2 | // expected-no-diagnostics |
Zhongxing Xu | f9d3cbb | 2011-01-10 03:54:19 +0000 | [diff] [blame] | 3 | |
4 | int f1() { | ||||
5 | int x = 0, y = 1; | ||||
6 | return x += y; // Should bind a location to 'x += y'. No crash. | ||||
7 | } |