xref: /dflybsd-src/tools/regression/bin/sh/execution/subshell2.0 (revision 3e3895bf4584c1562faf4533cbd97026ee6a8dcf)
1# $FreeBSD: head/bin/sh/tests/execution/subshell2.0 245383 2013-01-13 19:39:13Z jilles $
2
3f() {
4	x=2
5}
6(
7	x=1
8	f
9	[ "$x" = 2 ]
10)
11