llvm-for-llvmta/tools/clang/test/SemaObjCXX/debugger-support.mm
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

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