aboutsummaryrefslogtreecommitdiff
path: root/test/Analysis/misc-ps.m
blob: f96b1a22c7df5cc60090aa087d40c9b64accd184 (plain)
1
2
3
4
5
6
7
8
9
10
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