summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/outofbound.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/outofbound.c')
-rw-r--r--clang/test/Analysis/outofbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/outofbound.c b/clang/test/Analysis/outofbound.c
index ab9c0cfa4c8..b0c2db43862 100644
--- a/clang/test/Analysis/outofbound.c
+++ b/clang/test/Analysis/outofbound.c
@@ -2,5 +2,5 @@
char f1() {
char* s = "abcd";
- return s[5]; // expected-warning{{Load or store into an out-of-bound memory position.}}
+ return s[6]; // expected-warning{{Load or store into an out-of-bound memory position.}}
}
OpenPOWER on IntegriCloud