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