annotate run/s/switch_24_C.d @ 1488:1ee9a0dd42d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 12:29:50 +0000
parents 0c9905dc4158
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1454
0c9905dc4158 switch bug
thomask
parents:
diff changeset
1 // $HeadURL$
0c9905dc4158 switch bug
thomask
parents:
diff changeset
2 // $Date$
0c9905dc4158 switch bug
thomask
parents:
diff changeset
3 // $Author$
0c9905dc4158 switch bug
thomask
parents:
diff changeset
4
0c9905dc4158 switch bug
thomask
parents:
diff changeset
5 // @author@ BCS <ao@pathlink.com>
0c9905dc4158 switch bug
thomask
parents:
diff changeset
6 // @date@ 2007-03-24
1488
1ee9a0dd42d9 changed nntp: URLs to http: URLs
thomask
parents: 1454
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=10738
1454
0c9905dc4158 switch bug
thomask
parents:
diff changeset
8 // @desc@ switch bug
0c9905dc4158 switch bug
thomask
parents:
diff changeset
9
0c9905dc4158 switch bug
thomask
parents:
diff changeset
10 module dstress.run.s.switch_24_C;
0c9905dc4158 switch bug
thomask
parents:
diff changeset
11
0c9905dc4158 switch bug
thomask
parents:
diff changeset
12 int main(){
0c9905dc4158 switch bug
thomask
parents:
diff changeset
13 int x = 0;
0c9905dc4158 switch bug
thomask
parents:
diff changeset
14
0c9905dc4158 switch bug
thomask
parents:
diff changeset
15 switch("#!"){
0c9905dc4158 switch bug
thomask
parents:
diff changeset
16 case "#!":
0c9905dc4158 switch bug
thomask
parents:
diff changeset
17 x++;
0c9905dc4158 switch bug
thomask
parents:
diff changeset
18 break;
0c9905dc4158 switch bug
thomask
parents:
diff changeset
19 default:
0c9905dc4158 switch bug
thomask
parents:
diff changeset
20 assert(0);
0c9905dc4158 switch bug
thomask
parents:
diff changeset
21 break;
0c9905dc4158 switch bug
thomask
parents:
diff changeset
22 }
0c9905dc4158 switch bug
thomask
parents:
diff changeset
23
0c9905dc4158 switch bug
thomask
parents:
diff changeset
24 if(1 != x){
0c9905dc4158 switch bug
thomask
parents:
diff changeset
25 assert(0);
0c9905dc4158 switch bug
thomask
parents:
diff changeset
26 }
0c9905dc4158 switch bug
thomask
parents:
diff changeset
27
0c9905dc4158 switch bug
thomask
parents:
diff changeset
28 return 0;
0c9905dc4158 switch bug
thomask
parents:
diff changeset
29 }
0c9905dc4158 switch bug
thomask
parents:
diff changeset
30