mirror of
https://github.com/opnsense/src.git
synced 2026-03-20 18:02:17 -04:00
7 lines
211 B
C++
7 lines
211 B
C++
// RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-store=region -verify %s
|
|
// expected-no-diagnostics
|
|
|
|
int f1() {
|
|
int x = 0, y = 1;
|
|
return x += y; // Should bind a location to 'x += y'. No crash.
|
|
}
|