1(
2for i in a b c
3do
4# LINT: "|| exit {n}" valid for-loop escape in subshell; no "&&" needed
5foo || exit 1
6bar &&
7baz
8done
9) &&
10(
11while true
12do
13# LINT: "|| exit {n}" valid while-loop escape in subshell; no "&&" needed
14foo || exit 1
15bar &&
16baz
17done
18) &&
19(
20i=0 &&
21while test $i -lt 10
22do
23# LINT: "|| exit" (sans exit code) valid escape in subshell; no "&&" needed
24echo $i || exit
25i=$(($i + 1))
26done
27)