Rename no-outofbounds.c to xfail-no-outofbounds.c and split off that
test into a separate file to monitor the fact that BasicStoreManager
passes the test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70859 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/no-outofbounds.c b/test/Analysis/no-outofbounds-basicstore.c
similarity index 66%
rename from test/Analysis/no-outofbounds.c
rename to test/Analysis/no-outofbounds-basicstore.c
index c07bf86..9a0b359 100644
--- a/test/Analysis/no-outofbounds.c
+++ b/test/Analysis/no-outofbounds-basicstore.c
@@ -1,6 +1,5 @@
-// RUN: clang-cc -checker-cfref -analyze -analyzer-store=region -verify %s &&
// RUN: clang-cc -checker-cfref -analyze -analyzer-store=basic -verify %s
-// XFAIL
+
void f() {
long x = 0;
char *y = (char*) &x;
diff --git a/test/Analysis/no-outofbounds.c b/test/Analysis/xfail-no-outofbounds.c
similarity index 65%
copy from test/Analysis/no-outofbounds.c
copy to test/Analysis/xfail-no-outofbounds.c
index c07bf86..e5c21c5 100644
--- a/test/Analysis/no-outofbounds.c
+++ b/test/Analysis/xfail-no-outofbounds.c
@@ -1,5 +1,4 @@
-// RUN: clang-cc -checker-cfref -analyze -analyzer-store=region -verify %s &&
-// RUN: clang-cc -checker-cfref -analyze -analyzer-store=basic -verify %s
+// RUN: clang-cc -checker-cfref -analyze -analyzer-store=region -verify %s
// XFAIL
void f() {
long x = 0;