]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - bin/sh/tests/execution/subshell2.0
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / bin / sh / tests / execution / subshell2.0
1 # $FreeBSD$
2
3 f() {
4         x=2
5 }
6 (
7         x=1
8         f
9         [ "$x" = 2 ]
10 )