llvm-for-llvmta/tools/clang/test/SemaObjCXX/debugger-support.mm

9 lines
202 B
Plaintext
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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) {}
}