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