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
/
opaque-pointer.c
blob
d658db111d3a1f69e1cdc5e09af4bd3b9300c585
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
struct
test
;
3
4
typedef
void
(*
my_func
) (
struct
test
*);
5
my_func handler
;
6
7
struct
test
{
8
char
a
;
9
};
10
11
char
f
(
struct
test
*
t
) {
12
return
t
->
a
;
13
}