summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-parsing/groups_and_keywords1.tests
blob: 01944d7145d3d43770aa6e3fbeb54faf1a697552 (plain)
1
2
3
4
5
6
7
8
9
10
echo "Semicolons after } can be omitted 1:"
if { echo foo; } then { echo bar; } fi

echo "Semicolons after } can be omitted 2:"
while { echo foo; } do { echo bar; break; } done

echo "Semicolons after fi can be omitted:"
while if echo foo; then echo bar; fi do echo baz; break; done

echo Done:$?