492
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ MicroWizard <MicroWizard_member@pathlink.com>
|
|
6 // @date@ 2005-04-27
|
|
7 // @uri@ news:d4or18$1th1$1@digitaldaemon.com
|
|
8
|
|
9 module dstress.run.bug_cod2_4211_Q;
|
|
10
|
|
11 creal[1] a;
|
|
12 creal[1] b;
|
|
13
|
|
14 creal[] concat() {
|
|
15 return a~b;
|
|
16 }
|
|
17
|
|
18 int main(){
|
958
|
19 a[] = 0.5L + 1.0Li;
|
|
20 b[] = 0.5L + 3.0Li;
|
492
|
21
|
|
22 creal[] arr=concat();
|
|
23
|
|
24 assert(arr.length==2);
|
958
|
25 assert(arr[0] == 0.5L + 1.0Li);
|
|
26 assert(arr[1] == 0.5L + 3.0Li);
|
492
|
27
|
|
28 return 0;
|
|
29 }
|
|
30
|