freebsd-skq/test/SemaObjCXX/debugger-support.mm

9 lines
202 B
Plaintext

// 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) {}
}