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