summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-arith/arith-ternary_nested3.tests
blob: 6f753867ec7a58399c08002ffb9661648134dbc8 (plain)
1
2
3
4
5
6
exec 2>&1
x='@'
a=2
# After processing nested ?:, outermost ?: should still remember to NOT evaluate a*=2
echo 42:$((1?0?41:42:(a*=2)))
echo "a=2:$a"