[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / no-warn-composite-pointer-type.cpp
blobf33f60de9fdd4e36273c479b4ff356ece68de07e
1 // RUN: %clang_cc1 -fsyntax-only -Wno-compare-distinct-pointer-types -verify %s
2 // expected-no-diagnostics
3 // rdar://12501960
5 void Foo(int **thing, const int **thingMax)
7 if ((thing + 3) > thingMax)
8 return;