repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
SemaCXX
/
no-warn-composite-pointer-type.cpp
blob
295b8fb108e89801a9c18a64bad6ae958906c2c8
1
// RUN: %clang_cc1 -fsyntax-only -Wno-compare-distinct-pointer-types -verify %s
2
// expected-no-diagnostics
3
4
void
Foo
(
int
**
thing
,
const int
**
thingMax
)
5
{
6
if
((
thing
+
3
) >
thingMax
)
7
return
;
8
}