diff options
Diffstat (limited to 'clang/test/Analysis/outofbound.c')
| -rw-r--r-- | clang/test/Analysis/outofbound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/outofbound.c b/clang/test/Analysis/outofbound.c index 17608ff1687..6e6e8f033b5 100644 --- a/clang/test/Analysis/outofbound.c +++ b/clang/test/Analysis/outofbound.c @@ -2,5 +2,5 @@ char f1() { char* s = "abcd"; - return s[4]; // expected-warning{{Load or store into an out-of-bound memory position.}} + return s[5]; // expected-warning{{Load or store into an out-of-bound memory position.}} } |

