brintos

brintos / llvm-project-archived public Read only

0
0
Text · 188 B · 622f7a1 Raw
8 lines · cpp
1// RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s2// expected-no-diagnostics3 4int f1() {5  int x = 0, y = 1;6  return x += y; // Should bind a location to 'x += y'. No crash.7}8