fixed comment: get_call_abi() get the call type, NOT the method type of the called...
[libfirm] / ir / be / test / ptr_to_int.c
1 #include <assert.h>
2
3 char* ptr(void)
4 {
5         return (char*) 123;
6 }
7
8 int main()
9 {
10         printf("Int: %d\n", (int) ptr());
11         return 0;
12 }