Added test case.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56915 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Analysis/misc-ps.m b/test/Analysis/misc-ps.m
new file mode 100644
index 0000000..f96b1a2
--- /dev/null
+++ b/test/Analysis/misc-ps.m
@@ -0,0 +1,11 @@
+// RUN: clang -checker-cfref --verify %s
+
+// Reduced test case from crash in <rdar://problem/6253157>
+@class NSObject;
+@interface A @end
+@implementation A
+- (void)foo:(void (^)(NSObject *x))block {
+  if (!((block != ((void *)0)))) {}
+}
+@end
+