[cfe-commits] r56915 - /cfe/trunk/test/Analysis/misc-ps.m
Ted Kremenek
kremenek at apple.com
Tue Sep 30 22:05:46 PDT 2008
Author: kremenek
Date: Wed Oct 1 00:05:46 2008
New Revision: 56915
URL: http://llvm.org/viewvc/llvm-project?rev=56915&view=rev
Log:
Added test case.
Added:
cfe/trunk/test/Analysis/misc-ps.m
Added: cfe/trunk/test/Analysis/misc-ps.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/misc-ps.m?rev=56915&view=auto
==============================================================================
--- cfe/trunk/test/Analysis/misc-ps.m (added)
+++ cfe/trunk/test/Analysis/misc-ps.m Wed Oct 1 00:05:46 2008
@@ -0,0 +1,11 @@
+// RUN: clang -checker-cfref --verify %s
+
+// Reduced test case from crash in <rdar://problem/6253157>
+ at class NSObject;
+ at interface A @end
+ at implementation A
+- (void)foo:(void (^)(NSObject *x))block {
+ if (!((block != ((void *)0)))) {}
+}
+ at end
+
More information about the cfe-commits
mailing list