1// RUN: %clang_cc1 -std=c++11 -fblocks -fsyntax-only -verify %s 2// expected-no-diagnostics 3 4@interface A 5@end 6 7void comparisons(A *a) { 8 (void)(a == nullptr); 9 (void)(nullptr == a); 10} 11 12void assignment(A *a) { 13 a = nullptr; 14} 15 16int PR10145a = (void(^)())0 == nullptr; 17int PR10145b = nullptr == (void(^)())0; 18