xref: /llvm-project/lldb/test/API/functionalities/tail_call_frames/cross_object/main.c (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 #include "shared.h"
2 
3 __attribute__((noinline))
helper()4 static void helper() {
5   tail_called_in_a_from_main();
6 }
7 
8 __attribute__((disable_tail_calls))
main()9 int main() {
10   helper();
11   return 0;
12 }
13