blob: 18ffbbe6d649637f34e94c994ead4cc7135401dd [file] [log] [blame]
// XFAIL
// RUN: clang -checker-simple -analyzer-store-region -verify %s
char f1() {
char* s = "abcd";
return s[5]; // expected-warning{{Load or store into an out-of-bound memory position.}}
}