switch is still broken, copying over cparser testcase since noone runs the cparser...
[libfirm] / ir / be / test / trivial_add.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 int main(int argc, char *argv[])
12 {
13   printf("%d\n", add(1, 2));
14   return 0;
15 }