comparison run/line_ending_linux.d @ 756:9a121126b077

major "Torture" review
author thomask
date Sat, 03 Dec 2005 22:19:07 +0000
parents f87ba6507260
children 36bedfa079e6
comparison
equal deleted inserted replaced
755:fb70ca0d80ba 756:9a121126b077
1 // $HeadURL$ 1 // $HeadURL$
2 // $Date$ 2 // $Date$
3 // $Author$ 3 // $Author$
4 4
5 // __DSTRESS_TORTURE_BLOCK__ -release
5 module dstress.run.line_ending_linux; 6 module dstress.run.line_ending_linux;
6
7 int main(){ 7 int main(){
8 try{ 8 try{
9 assert(0); 9 assert(0);
10 }catch(Exception e){ 10 }catch(Exception e){
11 checkLineNumber(e); 11 checkLineNumber(e);
12 return 0; 12 return 0;
13 } 13 }
14 14
15 assert(-1); 15 assert(0);
16 return 1;
17 } 16 }
18 17
19 /* 18 /*
20 * @WARNING@ this code depends on the phobos implementation. 19 * @WARNING@ this code depends on the phobos implementation.
21 * char[]s returned by wrong assertions have to look like: 20 * char[]s returned by wrong assertions have to look like: