1 // This test verifies the correct handling of program counter jumps. 2 3 int otherfn(); 4 5 template<typename T> min(T a,T b)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 main()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(min_i_a, min_i_b); // 3rd marker 23 j = min(min_j_a, min_j_b); // 4th marker 24 25 return 0; 26 } 27