3
0

arith-ternary_nested3.tests 150 B

123456
  1. exec 2>&1
  2. x='@'
  3. a=2
  4. # After processing nested ?:, outermost ?: should still remember to NOT evaluate a*=2
  5. echo 42:$((1?0?41:42:(a*=2)))
  6. echo "a=2:$a"