3
0

var_nested1.tests 147 B

12345678910111213141516
  1. f() { a=A; b=B; }
  2. a=a
  3. b=b
  4. f
  5. echo Expected:AB Actual:$a$b
  6. a=a
  7. b=b
  8. b= f
  9. echo Expected:Ab Actual:$a$b
  10. a=a
  11. b=b
  12. a= b= f
  13. echo Expected:ab Actual:$a$b