blob: 635e56f053ec7fd98ae4c8b4dff89907023eb5c9 [file] [log] [blame]
// RUN: %clang_cc1 -analyze -analyzer-check-objc-mem -analyzer-store region -verify %s
char PR7218(char a) {
char buf[2];
buf[0] = a;
return buf[1]; // expected-warning {{Undefined or garbage value returned to caller}}
}