1 | #include <stdio.h> |
2 | |
3 | extern "C" int unique_function_name(int i) |
4 | { |
5 | return puts(s: __PRETTY_FUNCTION__); |
6 | } |
7 | |
8 | int unique_function_name() |
9 | { |
10 | return puts(s: __PRETTY_FUNCTION__); |
11 | } |
12 | |
13 | int unique_function_name(float f) |
14 | { |
15 | return puts(s: __PRETTY_FUNCTION__); |
16 | } |
17 | |
18 | namespace e |
19 | { |
20 | int unique_function_name() |
21 | { |
22 | return puts(s: __PRETTY_FUNCTION__); |
23 | } |
24 | |
25 | namespace g |
26 | { |
27 | int unique_function_name() |
28 | { |
29 | return puts(s: __PRETTY_FUNCTION__); |
30 | } |
31 | } |
32 | } |
33 | |
34 | class g |
35 | { |
36 | public: |
37 | int unique_function_name() |
38 | { |
39 | return puts(s: __PRETTY_FUNCTION__); |
40 | } |
41 | |
42 | int unique_function_name(int i) |
43 | { |
44 | return puts(s: __PRETTY_FUNCTION__); |
45 | } |
46 | }; |
47 | |
48 | int main (int argc, char const *argv[]) |
49 | { |
50 | g g; |
51 | g.unique_function_name(); |
52 | g.unique_function_name(i: argc); |
53 | return 0; |
54 | } |
55 | |