Mercurial > projects > dstress
annotate nocompile/break_06.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | 1f6cf5ccfbc9 |
children |
rev | line source |
---|---|
189 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
338 | 5 // __DSTRESS_ELINE__ 15 |
6 | |
189 | 7 module dstress.nocompile.break_06; |
8 | |
9 int main(){ | |
10 int i=1; | |
11 outer: switch(i){ | |
12 case 1: | |
13 inner: switch(i){ | |
14 case 1: | |
15 break blah; | |
16 default: | |
17 assert(0); | |
18 } | |
19 default: | |
20 assert(0); | |
21 } | |
22 return 0; | |
23 blah: | |
24 assert(0); | |
25 } |