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