annotate nocompile/goto_04.d @ 185:6067056cad0c

fixed goto_4 location
author thomask
date Thu, 09 Dec 2004 06:25:02 +0000
parents run/goto_04.d@2f17af7c6359
children e38919011244
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
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
5 module dstress.nocompile.goto_04;
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
6
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
7 int main(){
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
8 int i=1;
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
9 switch(i){
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
10 case 1:
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
11 goto case 2;
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
12 default:
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
13 assert(0);
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
14 }
2f17af7c6359 extended goto tests
thomask
parents:
diff changeset
15 }