Mercurial > projects > dstress
annotate run/bug_cod2_4211_H.d @ 736:1e6afb94ce6d
updated meta data for Torture
author | thomask |
---|---|
date | Sat, 12 Nov 2005 07:28:46 +0000 |
parents | e56d6f1cb48e |
children |
rev | line source |
---|---|
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_H; | |
10 | |
11 ulong[1] a; | |
12 ulong[1] b; | |
13 | |
14 ulong[] concat() { | |
15 return a~b; | |
16 } | |
17 | |
18 int main(){ | |
19 a[]=1; | |
20 b[]=3; | |
21 | |
22 ulong[] arr=concat(); | |
23 | |
24 assert(arr.length==2); | |
25 assert(arr[0]==1); | |
26 assert(arr[1]==3); | |
27 | |
28 return 0; | |
29 } | |
30 |