projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
fehler094.c
1
/*$ -fno-inline $*/
2
#include <stdio.h>
3
4
struct decompostition {
5
int a, b;
6
};
7
8
static struct decompostition do_something(void)
9
{
10
struct decompostition c;
11
rand();
12
return c;
13
}
14
15
int main(void) {
16
int arr[5];
17
struct decompostition dc;
18
19
arr[0] = 123;
20
arr[1] = 245;
21
dc = do_something();
22
printf("%d %d\n", arr[0], arr[1]);
23
24
return 0;
25
}