xref: /llvm-project/clang/test/SemaObjCXX/debugger-support.mm (revision c6e68daac0fa6e77a89f3ca72f266a528503dd1c)
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