annotate run/c/case_03.d @ 1560:36bedfa079e6

D1 -> D2 : 2/N
author thomask
date Sun, 19 Aug 2007 19:15:01 +0000
parents 4576b42ef546
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1516
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
1 // $HeadURL$
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
2 // $Date$
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
3 // $Author$
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
4
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
5 // @author@ Rev <Rev_member@pathlink.com>
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
6 // @date@ 2005-02-13
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
7 // @uri@ news:cunl9i$15r2$1@digitaldaemon.com
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2966
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
9
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
10 module dstress.run.c.case_03;
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
11
1560
36bedfa079e6 D1 -> D2 : 2/N
thomask
parents: 1516
diff changeset
12 string getString(){
1516
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
13 return "i";
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
14 }
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
15
1560
36bedfa079e6 D1 -> D2 : 2/N
thomask
parents: 1516
diff changeset
16 int main(string[] args){
1516
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
17 switch(args.length > 1 ? "" : "i") {
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
18 case "":
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
19 assert(0);
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
20
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
21 case getString():
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
22 return 0;
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
23
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
24 default:
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
25 assert(0);
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
26 }
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
27 }