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
/
Local.c
1
#include <stdio.h>
2
3
//
4
// GCC-firm Project
5
//
6
// $Id$
7
//
8
// Testprogram to test GCC-firm : Local.c
9
10
/*
11
public long id_0(long i, int j, long k, long l) {
12
return(i + 1);
13
}
14
*/
15
int id_1(int i, int j) {
16
int k;
17
int g;
18
k = i + 1;
19
g = j - 1;
20
return((k * g) / 2);
21
}
22
23
int main (int argc, char *argv[]) {
24
printf("Local.c\n");
25
printf(" id_1(3,5) = %d\n", id_1(3,5));
26
return 0;
27
}