1 /* Test to see if the analyzer detect and analyze calls via
2 function pointers or not. */
8 free(int_ptr
); /* { dg-warning "double-'free' of 'int_ptr'" } */
13 int *int_ptr
= (int*)malloc(sizeof(int));
14 void (*fun_ptr
)(int *) = &fun
;
20 int *int_ptr
= (int*)malloc(sizeof(int));
21 void (*fun_ptr
)(int *) = &fun
;
22 (*fun_ptr
)(int_ptr
); /* { dg-message "calling 'fun' from 'double_call'" } */