xref: /llvm-project/lldb/test/API/tools/lldb-dap/step/main.cpp (revision 01263c6c6fb495a94fe0ccbb1420bb1ec8460748)

function(int x)1*01263c6cSJonas Devlieghere int function(int x) {
2*01263c6cSJonas Devlieghere   if ((x % 2) == 0)
3*01263c6cSJonas Devlieghere     return function(x - 1) + x; // breakpoint 1
4*01263c6cSJonas Devlieghere   else
5*01263c6cSJonas Devlieghere     return x;
6*01263c6cSJonas Devlieghere }
7*01263c6cSJonas Devlieghere 
main(int argc,char const * argv[])8*01263c6cSJonas Devlieghere int main(int argc, char const *argv[]) { return function(2); }
9