view clang/test/SemaObjCXX/debugger-support.mm @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
line wrap: on
line source

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