1#include <stdio.h>
2
3struct A {
4 int aa;
5 char ab;
6};
7
8struct B {
9 int ba;
10 int bb;
11};
12
13struct C {
14 int ca;
15 int cb;
16};
17
18int Dump (A &a)
19{
20 return 1;
21}
22
23int Dump (B &b)
24{
25 return 2;
26}
27
28int Dump (C &c)
29{
30 return 3;
31}
32
33extern int CallStaticA();
34extern int CallStaticB();
35
36int main()
37{
38 A myA;
39 B myB;
40 C myC;
41
42 printf(format: "%d\n", CallStaticA() + CallStaticB()); // breakpoint
43}
44

source code of lldb/test/API/lang/cpp/overloaded-functions/main.cpp