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
/
CodeGen
/
2008-08-19-cast-of-typedef.c
blob
b3a4a056b5f9cc0cb26a37984030b45e10c5e6fd
1
// RUN: %clang_cc1 -std=c89 -emit-llvm -o %t %s
2
3
typedef
short
T
[
4
];
4
struct
s
{
5
T f0
;
6
};
7
8
void
foo
(
struct
s
*
x
) {
9
bar
((
long
)
x
->
f0
);
10
}