freebsd_amp_hwpstate/bin/sh/tests/execution/subshell2.0

10 lines
40 B
Plaintext

f() {
x=2
}
(
x=1
f
[ "$x" = 2 ]
)