projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ed949cda03d333024612bda0bd72a63734338d48
[libfirm]
/
ir
/
be
/
test
/
trivial_two_times.c
1
#include <stdio.h>
2
3
/*
4
* Proj's of the arguments
5
* Simple DF node.
6
*/
7
int add(int a, int b) {
8
return a + b;
9
}
10
11
/*
12
* A function call
13
*/
14
int two_times(int a) {
15
return add(a, a);
16
}
17
18
int main(int argc, char *argv[])
19
{
20
printf("%d\n", two_times(3));
21
return 0;
22
}