1 | #include <stdio.h> |
---|---|
2 | |
3 | static void unique_function_name() { |
4 | puts(s: __PRETTY_FUNCTION__); // foo breakpoint 2 |
5 | } |
6 | |
7 | int foo(int x) { |
8 | // foo breakpoint 1 |
9 | unique_function_name(); |
10 | return x + 42; |
11 | } |
12 |
1 | #include <stdio.h> |
---|---|
2 | |
3 | static void unique_function_name() { |
4 | puts(s: __PRETTY_FUNCTION__); // foo breakpoint 2 |
5 | } |
6 | |
7 | int foo(int x) { |
8 | // foo breakpoint 1 |
9 | unique_function_name(); |
10 | return x + 42; |
11 | } |
12 |