# REQUIRES: native && (system-linux || system-netbsd)
# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_CLONE -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
b parent_func
b child_func
process launch
# CHECK-NOT: function run in parent
# CHECK: stop reason = breakpoint
continue
# CHECK: function run in parent
# CHECK: function run in exec'd child