projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added C wrapper to Daniel's coalescing JAVA framework
[libfirm]
/
ir
/
be
/
test
/
sret.c
1
typedef struct _foo_t {
2
int a;
3
char b;
4
} foo_t;
5
6
foo_t sret_func(int c) {
7
foo_t x;
8
x.a = c;
9
x.b = 0;
10
return x;
11
}
12
13
int main(int argc) {
14
foo_t z;
15
16
z.b = 13;
17
z = sret_func(argc);
18
19
return z.b;
20
}