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
/
Sema
/
no-warn-void-ptr-uneval.c
blob
cc93efcda68f16dbf188c1f946ae7b924c5963c0
1
// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify %s
2
// RUN: %clang_cc1 -fsyntax-only -Wno-unused-value -verify -std=gnu89 %s
3
4
// expected-no-diagnostics
5
void
foo
(
void
*
vp
) {
6
sizeof
(*
vp
);
7
sizeof
(*(
vp
));
8
void
inner
(
typeof
(*
vp
));
9
}