Mercurial > projects > dstress
comparison nocompile/finally_02.d @ 338:1f6cf5ccfbc9
1) updated rules to dmd-0.119
2) added __DSTRESS_ELINE__ tags
author | thomask |
---|---|
date | Mon, 21 Mar 2005 20:45:57 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
337:5c636c0543fe | 338:1f6cf5ccfbc9 |
---|---|
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__ 13 | |
8 | |
9 module dstress.nocompile.finally_02; | |
10 | |
11 void test(){ | |
12 try{ | |
13 goto label; | |
14 }finally{ | |
15 label: | |
16 int dummy; | |
17 dummy++; | |
18 } | |
19 } |