1// This test verifies the correct handling of program counter jumps.
2
3int otherfn();
4
5template<typename T>
6T min(T a, T b)
7{
8 if (a < b)
9 {
10 return a; // 1st marker
11 } else {
12 return b; // 2nd marker
13 }
14}
15
16int main ()
17{
18 int i;
19 double j;
20 int min_i_a = 4, min_i_b = 5;
21 double min_j_a = 7.0, min_j_b = 8.0;
22 i = min(a: min_i_a, b: min_i_b); // 3rd marker
23 j = min(a: min_j_a, b: min_j_b); // 4th marker
24
25 return 0;
26}
27

source code of lldb/test/API/functionalities/thread/jump/main.cpp