Mercurial > projects > dstress
annotate nocompile/finally_05.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 |
---|---|
338 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto. | |
6 | |
7 // __DSTRESS_ELINE__ 16 | |
8 | |
9 module dstress.nocompile.finally_05; | |
10 | |
11 void test(){ | |
12 | |
13 while(1){ | |
14 try{ | |
15 }finally{ | |
16 break; | |
17 } | |
18 } | |
19 } |