Mercurial > projects > dstress
annotate nocompile/break_06.d @ 1576:b3e16c86558e
[Issue 1398] New: GDC doesn't generate correct code
<mariusmuja@gmail.com>
2007-08-04
http://d.puremagic.com/issues/show_bug.cgi?id=1398
author | thomask |
---|---|
date | Thu, 21 Feb 2008 15:20:08 +0000 |
parents | 1f6cf5ccfbc9 |
children |
rev | line source |
---|---|
189 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
338 | 5 // __DSTRESS_ELINE__ 15 |
6 | |
189 | 7 module dstress.nocompile.break_06; |
8 | |
9 int main(){ | |
10 int i=1; | |
11 outer: switch(i){ | |
12 case 1: | |
13 inner: switch(i){ | |
14 case 1: | |
15 break blah; | |
16 default: | |
17 assert(0); | |
18 } | |
19 default: | |
20 assert(0); | |
21 } | |
22 return 0; | |
23 blah: | |
24 assert(0); | |
25 } |