[cfe-commits] r70359 - /cfe/trunk/test/Analysis/casts.c

Zhongxing Xu xuzhongxing at gmail.com
Tue Apr 28 19:37:26 PDT 2009


Author: zhongxingxu
Date: Tue Apr 28 21:37:26 2009
New Revision: 70359

URL: http://llvm.org/viewvc/llvm-project?rev=70359&view=rev
Log:
Update test case.

Modified:
    cfe/trunk/test/Analysis/casts.c

Modified: cfe/trunk/test/Analysis/casts.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/casts.c?rev=70359&r1=70358&r2=70359&view=diff

==============================================================================
--- cfe/trunk/test/Analysis/casts.c (original)
+++ cfe/trunk/test/Analysis/casts.c Tue Apr 28 21:37:26 2009
@@ -1,14 +1,6 @@
 // RUN: clang-cc -analyze -checker-cfref -analyzer-store=region --verify %s
-// XFAIL
-
-struct sockaddr_storage {
-  int d;
-};
-
-struct sockaddr {
-  int sa_family;
-};
 
+#include <sys/socket.h>
 void f(int sock) {
   struct sockaddr_storage storage;
   struct sockaddr* sockaddr = (struct sockaddr*)&storage;





More information about the cfe-commits mailing list