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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
pointer-to-int.c
blob
76bb4159b365698830b675779c40af0a2295df9f
1
// RUN: %clang_cc1 -emit-llvm -Wno-int-conversion %s -o -
2
3
int
test
(
void
*
i
)
4
{
5
return
(
int
)
i
;
6
}
7
8
int
test2
(
void
) {
9
float
x
[
2
];
10
return
x
;
11
}
12