annotate run/o/opCat_16_H.d @ 672:ec3124ba366f
AJG <AJG@nospam.com>
2005-09-18
news:dgj92k$226p$1@digitaldaemon.com
author |
thomask |
date |
Mon, 19 Sep 2005 07:37:25 +0000 |
parents |
|
children |
b8c0195059d9 |
rev |
line source |
672
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ AJG <AJG@nospam.com>
|
|
6 // @date@ 2005-09-18
|
|
7 // @uri@ news:dgj92k$226p$1@digitaldaemon.com
|
|
8
|
|
9 module dstress.run.o.opCat_16_H;
|
|
10
|
|
11 int main(){
|
|
12 wchar[][] strings;
|
|
13 strings.length = 1;
|
|
14 strings[0] = "Foo";
|
|
15 assert((strings ~ "Bar"w).length==2);
|
|
16 assert((strings ~ "Bar"w)[0] == "Foo"w);
|
|
17 assert((strings ~ "Bar"w)[1] == "Bar"w);
|
|
18 return 0;
|
|
19 }
|