xref: /llvm-project/lldb/test/API/functionalities/breakpoint/scripted_bkpt/main.c (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 #include <stdio.h>
2 
3 int
test_func()4 test_func()
5 {
6   return printf("I am a test function.");
7 }
8 
9 void
break_on_me()10 break_on_me()
11 {
12   printf("I was called.\n");
13 }
14 
15 int
main()16 main()
17 {
18   break_on_me();
19   test_func();
20   return 0;
21 }
22