annotate run/c/case_02.d @ 1516:4576b42ef546

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:21:10 +0000
parents
children 36bedfa079e6
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_02;
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
11
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
12 char[] getString(){
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
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
16 int main(char[][] args){
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
17 switch(args[0]) {
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
18 case getString():
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
19 assert(0);
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
20 defaut:
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
21 return 0;
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
22 }
4576b42ef546 updated to DMD-1.013
thomask
parents:
diff changeset
23 }