Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
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
;
}