xref: /freebsd/bin/sh/tests/execution/subshell2.0 (revision cdc58367265a2bd6e8f913db2bdc591699ee229f)
1# $FreeBSD$
2
3f() {
4	x=2
5}
6(
7	x=1
8	f
9	[ "$x" = 2 ]
10)
11