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.

llvm-svn: 70859
This commit is contained in:
Ted Kremenek 2009-05-04 14:31:19 +00:00
parent 66f8fe18ef
commit 238d0b6ecd
2 changed files with 8 additions and 2 deletions

View File

@ -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;

View File

@ -0,0 +1,7 @@
// RUN: clang-cc -checker-cfref -analyze -analyzer-store=region -verify %s
// XFAIL
void f() {
long x = 0;
char *y = (char*) &x;
char c = y[0] + y[1] + y[2]; // no-warning
}