annotate run/o/opCat_16_G.d @ 1489:b8c0195059d9

changed nntp: URLs to http: URLs
author thomask
date Mon, 09 Apr 2007 13:47:01 +0000
parents ec3124ba366f
children 36bedfa079e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
672
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
1 // $HeadURL$
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
2 // $Date$
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
3 // $Author$
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
4
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
5 // @author@ AJG <AJG@nospam.com>
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
6 // @date@ 2005-09-18
1489
b8c0195059d9 changed nntp: URLs to http: URLs
thomask
parents: 672
diff changeset
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5027
672
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
8
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
9 module dstress.run.o.opCat_16_G;
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
10
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
11 int main(){
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
12 dchar[][] strings;
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
13 strings.length = 1;
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
14 strings[0] = "Foo";
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
15 assert((strings ~ "Bar"d).length==2);
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
16 assert((strings ~ "Bar"d)[0] == "Foo"d);
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
17 assert((strings ~ "Bar"d)[1] == "Bar"d);
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
18 return 0;
ec3124ba366f AJG <AJG@nospam.com>
thomask
parents:
diff changeset
19 }