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