projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
compound return problems
[libfirm]
/
ir
/
be
/
test
/
fehler110.c
1
struct A {
2
int a, b, c;
3
};
4
5
struct A globa = { 1, 2, 3 };
6
7
struct A funk(void) {
8
struct A res;
9
10
res.a = globa.c + 20;
11
res.b = globa.b + 20;
12
res.c = globa.a + 20;
13
14
return res;
15
}
16
17
int main(void) {
18
globa = funk();
19
printf("%d %d %d\n", globa.a, globa.b, globa.c);
20
return 0;
21
}