annotate nocompile/goto_04.d @ 360:e38919011244

dif. fixes 3
author thomask
date Fri, 25 Mar 2005 05:22:21 +0000
parents 6067056cad0c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
184
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
1 // $HeadURL$
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
2 // $Date$
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
3 // $Author$
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
4
360
e38919011244 dif. fixes 3
thomask
parents: 185
diff changeset
5 // __DSTRESS_ELINE__ 13
e38919011244 dif. fixes 3
thomask
parents: 185
diff changeset
6
184
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
7 module dstress.nocompile.goto_04;
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
8
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
9 int main(){
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
10 int i=1;
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
11 switch(i){
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
12 case 1:
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
13 goto case 2;
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
14 default:
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
15 assert(0);
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
16 }
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
17 }