4 #define INLINE_ME __inline__ __attribute__((always_inline))
7 not_inlined_2 (int input
)
9 printf ("Called in not_inlined_2 with : %d.\n", input
);
14 not_inlined_1 (int input
)
16 printf ("Called in not_inlined_1 with %d.\n", input
);
17 return not_inlined_2(input
);
21 inner_inline (int inner_input
, int mod_value
)
24 inner_result
= inner_input
% mod_value
;
25 printf ("Returning: %d.\n", inner_result
);
26 return not_inlined_1 (inner_result
); // Set break point at this line.
30 outer_inline (int outer_input
)
34 outer_result
= inner_inline (outer_input
, outer_input
% 3);
39 main (int argc
, char **argv
)
41 printf ("Starting...\n");
43 int (*func_ptr
) (int);
44 func_ptr
= outer_inline
;