xref: /aosp_15_r20/external/clang/test/SemaObjCXX/debugger-support.mm (revision 67e74705e28f6214e480b399dd47ea732279e315)
1// RUN: %clang_cc1 -fdebugger-support -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4@class NSString;
5void testCompareAgainstPtr(int *ptr, NSString *ns) {
6  if (ptr == 17) {}
7  if (ns != 42) {}
8}
9