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