projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fixed CopyKeeps
[libfirm]
/
ir
/
be
/
test
/
Local.c
1
//
2
// GCC-firm Project
3
//
4
// $Id$
5
//
6
// Testprogram to test GCC-firm : Local.c
7
8
/*
9
public long id_0(long i, int j, long k, long l) {
10
return(i + 1);
11
}
12
*/
13
int id_1(int i, int j) {
14
int k;
15
int g;
16
k = i + 1;
17
g = j - 1;
18
return((k * g) / 2);
19
}
20
21
int main (int argc, char *argv[]) {
22
printf("Local.c\n");
23
printf(" id_1(3,5) = %d\n", id_1(3,5));
24
return 0;
25
}