1# REQUIRES: native && dbregs-set 2# UNSUPPORTED: system-windows 3# RUN: %clangxx_host -g %p/Inputs/fork.cpp -DTEST_FORK=fork -o %t 4# RUN: %lldb -b -s %s %t | FileCheck %s 5process launch -s 6watchpoint set variable -w write g_val 7# CHECK: Watchpoint created: 8continue 9# CHECK-NOT: function run in parent 10# CHECK: stop reason = watchpoint 11continue 12# CHECK: function run in parent 13# CHECK: function run in exec'd child 14