[cfe-commits] r70791 - /cfe/trunk/test/Analysis/xfail_wine_crash.c

Ted Kremenek kremenek at apple.com
Sun May 3 12:09:37 PDT 2009


Author: kremenek
Date: Sun May  3 14:09:37 2009
New Revision: 70791

URL: http://llvm.org/viewvc/llvm-project?rev=70791&view=rev
Log:
Add failing test case.

Added:
    cfe/trunk/test/Analysis/xfail_wine_crash.c

Added: cfe/trunk/test/Analysis/xfail_wine_crash.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/xfail_wine_crash.c?rev=70791&view=auto

==============================================================================
--- cfe/trunk/test/Analysis/xfail_wine_crash.c (added)
+++ cfe/trunk/test/Analysis/xfail_wine_crash.c Sun May  3 14:09:37 2009
@@ -0,0 +1,12 @@
+// RUN: clang-cc -checker-cfref -analyze -analyzer-store=region %s &&
+// RUN: clang-cc -checker-cfref -analyze -analyzer-store=basic %s
+// XFAIL
+
+// When this test passes we should put it in the misc-ps.m test file.
+
+void foo() {
+  long x = 0;
+  char *y = (char *) &x;
+  if (!*y)
+    return;
+}





More information about the cfe-commits mailing list