fixed comment: get_call_abi() get the call type, NOT the method type of the called...
[libfirm] / ir / be / test / callref.c
1 #include <stdio.h>
2
3 void func(int *i)
4 {
5         *i = 0;
6 }
7
8 int main (int argc, char *argv[]) {
9         int i;
10
11         printf("callref.c\n");
12
13         func(&i);
14
15         printf(" i = %d (should be 0)\n", i);
16
17         return 0;
18 }