591
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Nick <Nick_member@pathlink.com>
|
|
6 // @date@ 2005-06-21
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4382
|
591
|
8
|
|
9 module dstress.run.o.opCat_15_R;
|
|
10
|
|
11 int main(){
|
920
|
12 creal x = 1.0Li + 2.0L;
|
591
|
13 creal[] arr;
|
|
14
|
|
15 arr = arr ~ x;
|
|
16 assert(arr.length==1);
|
920
|
17 assert(arr[0] == 1.0Li + 2.0L);
|
591
|
18
|
920
|
19 x= 0.0Li + 5.0L;
|
|
20 assert(arr[0] == 1.0Li + 2.0L);
|
591
|
21
|
|
22 return 0;
|
|
23 }
|