repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix the clang-wpa example.
[clang.git]
/
test
/
CodeGen
/
pointer-to-int.c
blob
30a6db280d41065a58945f2d77d0bc3947e3c7b6
1
// RUN: %clang_cc1 -emit-llvm %s -o -
2
3
int
test
(
void
*
i
)
4
{
5
return
(
int
)
i
;
6
}
7
8
// rdar://6093986
9
int
test2
(
void
) {
10
float
x
[
2
];
11
return
x
;
12
}
13