]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/SemaObjCXX/debugger-support.mm
Vendor import of clang tags/RELEASE_33/final r183502 (effectively, 3.3
[FreeBSD/FreeBSD.git] / test / SemaObjCXX / debugger-support.mm
1 // RUN: %clang_cc1 -fdebugger-support -fsyntax-only -verify %s
2 // expected-no-diagnostics
3
4 @class NSString;
5 void testCompareAgainstPtr(int *ptr, NSString *ns) {
6   if (ptr == 17) {}
7   if (ns != 42) {}
8 }