Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
safecode
/
tools
/
clang
/
test
/
SemaCXX
/
no-warn-composite-pointer-type.cpp
blob: f33f60de9fdd4e36273c479b4ff356ece68de07e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -Wno-compare-distinct-pointer-types -verify %s
// expected-no-diagnostics
// rdar://12501960
void
Foo
(
int
**
thing
,
const
int
**
thingMax
)
{
if
((
thing
+
3
)
>
thingMax
)
return
;
}