10064c596SDouglas Gregor// RUN: %clang_cc1 -fdebugger-support -fsyntax-only -verify %s 2*c6e68daaSAndy Gibbs// expected-no-diagnostics 30064c596SDouglas Gregor 40064c596SDouglas Gregor@class NSString; 50064c596SDouglas Gregorvoid testCompareAgainstPtr(int *ptr, NSString *ns) { 60064c596SDouglas Gregor if (ptr == 17) {} 70064c596SDouglas Gregor if (ns != 42) {} 80064c596SDouglas Gregor} 9