minix/external/bsd/llvm/dist/clang/test/SemaObjCXX/debugger-support.mm

9 lines
202 B
Text
Raw Normal View History

// RUN: %clang_cc1 -fdebugger-support -fsyntax-only -verify %s
// expected-no-diagnostics
@class NSString;
void testCompareAgainstPtr(int *ptr, NSString *ns) {
if (ptr == 17) {}
if (ns != 42) {}
}