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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
338
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
1 // $HeadURL$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
2 // $Date$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
3 // $Author$
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
4
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
5 // A FinallyStatement may not exit with a goto, break, continue, or return; nor may it be entered with a goto.
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
6
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
7 // __DSTRESS_ELINE__ 14
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
8
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
9 module dstress.nocompile.finally_07;
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
10
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
11 void test(){
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
12 try{
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
13 }finally{
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
14 goto label;
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
15 }
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
16 label:
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
17 return;
1f6cf5ccfbc9 1) updated rules to dmd-0.119
thomask
parents:
diff changeset
18 }