xref: /llvm-project/lldb/test/API/commands/watchpoints/watchpoint_disable/main.c (revision 99451b4453688a94c6014cac233d371ab4cc342d)
1 #include <stdio.h>
2 
3 int global_var = 10;
4 
5 int
main()6 main()
7 {
8   printf("Set a breakpoint here: %d.\n", global_var);
9   global_var = 20;
10   printf("We should have stopped on the previous line: %d.\n", global_var);
11   global_var = 30;
12   return 0;
13 }
14