1# REQUIRES: native
2# UNSUPPORTED: system-darwin
3# UNSUPPORTED: system-windows
4# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_FORK=fork -o %t
5# RUN: %lldb -b -s %s %t | FileCheck %s
6settings set target.process.follow-fork-mode child
7b parent_func
8process launch
9# CHECK: function run in parent
10# CHECK: child exited: 0
11