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