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_D;
|
|
10
|
|
11 int main(){
|
1560
|
12 wstring[] strings;
|
672
|
13 strings.length = 1;
|
|
14 strings[0] = "Foo";
|
1560
|
15 wstring test = "Bar";
|
1091
|
16 assert((strings ~ test).length==2);
|
|
17 assert((strings ~ test)[0] == "Foo");
|
|
18 assert((strings ~ test)[1] == "Bar");
|
672
|
19 return 0;
|
|
20 }
|