diff --git a/lldb/test/API/functionalities/inline-stepping/calling.cpp b/lldb/test/API/functionalities/inline-stepping/calling.cpp --- a/lldb/test/API/functionalities/inline-stepping/calling.cpp +++ b/lldb/test/API/functionalities/inline-stepping/calling.cpp @@ -129,8 +129,12 @@ function_to_call (); // Make sure debug info for this function gets generated. - max_value(123, 456); // Call max_value template - max_value(std::string("abc"), std::string("0022")); // Call max_value specialized + max_value(123, 456); // Call max_value template + + std::string s1 = "aba"; + std::string s2 = "0022"; + + max_value(s1, s2); // Call max_value specialized return 0; // About to return from main. }