blob: 802e489bd8dbbf6279a580fd701602c0a8039b31 [file] [log] [blame]
Denis Vlasenko0e6f6612008-02-15 15:02:15 +00001# check that first assignment has proper effect on second one
2
3(
4a=a A=$a
5echo a=$a A=$A
6)
7(a=a A=$a; echo a=$a A=$A)
8(a=a A=$a echo a=$a A=$A)
9(a=a A=$a /bin/echo a=$a A=$A)
10
11f() { echo a=$a A=$A; }
12
13(a=a A=$a f)
14(a=a A=$a; f)