comparison run/d/dchar_11_C.d @ 1307:071d5525be12

[Issue 740] dchar[].dup causes compiler segfault Thomas K?hne <thomas-dloop@kuehne.cn> 2006-12-25 http://d.puremagic.com/issues/show_bug.cgi?id=740
author thomask
date Sun, 31 Dec 2006 02:01:05 +0000
parents
children
comparison
equal deleted inserted replaced
1306:9c9d8a7ddcb4 1307:071d5525be12
1 // $HeadURL$
2 // $Date$
3 // $Author$
4
5 // @author@ Thomas Kühne <thomas-dloop@kuehne.cn>
6 // @date@ 2006-12-25
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=740
8 // @desc@ [Issue 740] dchar[].dup causes compiler segfault
9
10 module dstress.run.d.dchar_11_C;
11
12 void dummy(dchar[] b){
13 }
14
15 int main(){
16 dchar[] a;
17 a = "-\U000000A1\U00000901\U0000FFEE\U00010000\U000FFFFD_";
18 dummy(a);
19
20 return 0;
21 }