diff options
Diffstat (limited to 'clang/test/Analysis/null-deref-ps-region.c')
| -rw-r--r-- | clang/test/Analysis/null-deref-ps-region.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/null-deref-ps-region.c b/clang/test/Analysis/null-deref-ps-region.c index f5e6956ff72..2bc338cd3f2 100644 --- a/clang/test/Analysis/null-deref-ps-region.c +++ b/clang/test/Analysis/null-deref-ps-region.c @@ -51,7 +51,7 @@ void testHeapSymbol() { void testStackArrayOutOfBound() { char buf[1]; - memset(buf, 0, 1024); // expected-warning {{Memory set function accesses out-of-bound array element}} + memset(buf, 0, 1024); // expected-warning {{Memory set function accesses out-of-bound array element}} expected-warning {{'memset' will always overflow; destination buffer has size 1, but size argument is 1024}} } void testHeapSymbolOutOfBound() { |

