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
7process launch
8# CHECK-NOT: function run in parent
9# CHECK: stop reason = breakpoint
10continue
11# CHECK: function run in parent
12# CHECK: function run in exec'd child
13