annotate nocompile/finally_07.d @ 1593:a2c2122f2f66
Remove error line information for simple tests that may legitimately have
another line referenced in the error message.
author |
Christian Kamm <kamm incasoftware de> |
date |
Thu, 28 Aug 2008 17:30:16 +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__ 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 }
|