aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2009-07-10 21:48:10 +0000
committerTed Kremenek <kremenek@apple.com>2009-07-10 21:48:10 +0000
commit2f08991af8034810edebb859bf36b0a0a3e87174 (patch)
tree20ec7dcb3a4dc820702c5450c3540bec47cd19a2
parent988dc7efbc39de30dc1b2ffbdcd491515ccee06e (diff)
RegionStoreManager also passes this test file.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75296 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Analysis/no-outofbounds-basicstore.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/Analysis/no-outofbounds-basicstore.c b/test/Analysis/no-outofbounds-basicstore.c
index b0fcf1959c..7aeae7e11d 100644
--- a/test/Analysis/no-outofbounds-basicstore.c
+++ b/test/Analysis/no-outofbounds-basicstore.c
@@ -1,5 +1,10 @@
// RUN: clang-cc -checker-cfref -analyze -analyzer-store=basic -verify %s &&
-// RUN: clang-cc -checker-cfref -analyze -analyzer-store=basic-old-cast -verify %s
+// RUN: clang-cc -checker-cfref -analyze -analyzer-store=basic-old-cast -verify %s &&
+// RUN: clang-cc -checker-cfref -analyze -analyzer-store=region -verify %s
+
+//===----------------------------------------------------------------------===//
+// This file tests cases where we should not flag out-of-bounds warnings.
+//===----------------------------------------------------------------------===//
void f() {
long x = 0;