summaryrefslogtreecommitdiff
path: root/test/regression/funptr1.c
blob: 9bb7046da4568b758061bf922f351fb02b581d18 (plain)
1
2
3
4
5
6
7
8
9
10
int (*pf)(void);
int f(void) {

   pf = &f; // This looks ok
   pf = ***f; // Dereference a function?
   pf(); // Invoke a function pointer?     
   (****pf)();  // Looks strange but Ok
   (***************f)(); // Also Ok             
   return 0;
}