Mercurial > projects > dstress
annotate nocompile/finally_07.d @ 1619:bebc7472a832
Fix #7.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 18:55:30 +0100 |
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__ 14 | |
8 | |
9 module dstress.nocompile.finally_07; | |
10 | |
11 void test(){ | |
12 try{ | |
13 }finally{ | |
14 goto label; | |
15 } | |
16 label: | |
17 return; | |
18 } |