Mercurial > projects > dstress
annotate run/break_02.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | a33ad7189d21 |
children | 6e4063f99377 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
111 | 5 // @author@ John Reimer <brk_6502@NO_SPA_M.yahoo.com> |
6 // @date@ 2004-07-11 | |
140 | 7 // @uri@ news:cct6f0$cj6$1@digitaldaemon.com |
1383 | 8 // @uri@ nntp://digitalmars.com/digitalmars.D.bugs/783 |
111 | 9 |
10 module dstress.run.break_02; | |
11 | |
12 int main() { | |
13 while (true) { | |
14 try { | |
15 throw new Object(); | |
16 } catch (Object e) { | |
17 if(true){ | |
18 break; | |
19 }else{ | |
20 assert(0); | |
21 } | |
22 } | |
23 assert(0); | |
24 } | |
25 return 0; | |
26 } |