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-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git]
/
clang
/
test
/
Sema
/
address-constant.c
blob
c13485b37ba5c109e8f35d852c697772f4e32152
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
int
i
;
5
int
a
[] = {
0
};
6
struct
{
int
i
; }
s
;
7
8
int
*
array
[] = {&
i
,
a
, &
s
.
i
};
9
10
extern
void
f
(
void
);
11
void
(*
f_addr
)(
void
) = &
f
;