Mercurial > projects > dstress
view run/o/opCat_17_A.d @ 1091:9dcac8d4e97f
post DMD-0.163 review
author | thomask |
---|---|
date | Fri, 21 Jul 2006 11:15:26 +0000 |
parents | 8907387e7a6a |
children | b8c0195059d9 |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ AJG <AJG@nospam.com> // @date@ 2005-09-18 // @uri@ news:dgj92k$226p$1@digitaldaemon.com module dstress.run.o.opCat_17_A; int main(){ const static char[][] strings = ["Foo"]; const static char[] test = "Bar"; assert((strings ~ test).length==2); assert((strings ~ test)[0] == "Foo"); assert((strings ~ test)[1] == "Bar"); return 0; }