]> code.delx.au - gnu-emacs/blob - test/indent/shell.rc
Merge from emacs-23 branch
[gnu-emacs] / test / indent / shell.rc
1 #!/bin/rc
2
3 if (foo) {
4 echo 1
5 }
6 if not {
7 echo 2
8 }
9
10 if (foo)
11 echo 3 # KNOWN INDENT BUG
12 if not
13 echo 4 # KNOWN INDENT BUG
14
15 switch ($a) {
16 case 3
17 echo 4
18 case 5
19 echo 7
20 for (i in a b c) {
21 echo $i
22 }
23 for (i in a b c)
24 echo "$i" # KNOWN INDENT BUG
25 echo titi
26
27 case *
28 echo other
29 }
30