1# REQUIRES: native && (system-linux || system-netbsd)
2# clone() tests fails on arm64 Linux, PR #49899
3# UNSUPPORTED: system-linux && target-aarch64
4# RUN: %clangxx_host %p/Inputs/fork.cpp -DTEST_CLONE -o %t
5# RUN: %lldb -b -s %s %t | FileCheck %s
6b parent_func
7b child_func
8process launch
9# CHECK-NOT: function run in parent
10# CHECK: stop reason = breakpoint
11continue
12# CHECK: function run in parent
13# CHECK: function run in exec'd child
14