git/t/chainlint/exit-subshell.test

test_expect_success 'exit-subshell' '
(
# LINT: "|| exit {n}" valid subshell escape without hurting &&-chain
	foo || exit 1
	bar &&
	baz
)
'