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