[AMDGPU] Add True16 register classes.
[llvm-project.git] / lldb / test / API / commands / watchpoints / step_over_watchpoint / main.c
blobf1831c5c5a18b66ec50e7e318606b3becd582f52
1 long g_watch_me_read = 1;
2 long g_watch_me_write = 2;
3 long g_temp = 3;
5 void watch_read() {
6 g_temp = g_watch_me_read;
9 void watch_write() {
10 g_watch_me_write = g_temp;
13 int main() {
14 watch_read(); // Set a breakpoint here
15 g_temp = g_watch_me_read; // Set breakpoint after call
16 watch_write();
17 g_watch_me_write = g_temp + 1;
18 return 0;