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 |
rev |
line source |
672
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ AJG <AJG@nospam.com>
|
|
6 // @date@ 2005-09-18
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5027
|
672
|
8
|
|
9 module dstress.run.o.opCat_16_G;
|
|
10
|
|
11 int main(){
|
|
12 dchar[][] strings;
|
|
13 strings.length = 1;
|
|
14 strings[0] = "Foo";
|
|
15 assert((strings ~ "Bar"d).length==2);
|
|
16 assert((strings ~ "Bar"d)[0] == "Foo"d);
|
|
17 assert((strings ~ "Bar"d)[1] == "Bar"d);
|
|
18 return 0;
|
|
19 }
|