comparison run/o/opCat_27_C.d @ 1550:f46f0b6ed2d1

[Issue 627] Concatenation of strings to string arrays with ~ corrupts data Matti Niemenmaa <deewiant@gmail.com> 2006-12-02 http://d.puremagic.com/issues/show_bug.cgi?id=627
author thomask
date Mon, 23 Jul 2007 18:42:04 +0000
parents
children
comparison
equal deleted inserted replaced
1549:1e01d8b3e715 1550:f46f0b6ed2d1
1 // $HeadURL$
2 // $Date$
3 // $Author$
4
5 // @author@ Matti Niemenmaa <deewiant@gmail.com>
6 // @date@ 2006-12-02
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=627
8 // @desc@ [Issue 627] Concatenation of strings to string arrays with ~ corrupts data
9
10 module dstress.run.o.opCat_27_C;
11
12 int main() {
13 wchar[][] foo;
14 if(1 != (foo ~ "foo"w.dup).length){
15 assert(0);
16 }
17 return 0;
18 }