1#include <stdio.h>
2#include <unistd.h>
3
4int recurse(int x) {
5 if (x <= 1)
6 return 1; // recurse end
7 return recurse(x: x - 1) + x; // recurse call
8}
9
10int main(int argc, char const *argv[]) {
11 recurse(x: 20); // recurse invocation
12 return 0;
13}
14

source code of lldb/test/API/tools/lldb-dap/stackTrace/main.c