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_B;
|
|
10
|
|
11 byte[1] a;
|
|
12 byte[1] b;
|
|
13
|
|
14 byte[] concat() {
|
|
15 return a~b;
|
|
16 }
|
|
17
|
|
18 int main(){
|
|
19 a[]=1;
|
|
20 b[]=3;
|
|
21
|
|
22 byte[] arr=concat();
|
|
23
|
1559
|
24 if(2 != arr.length){
|
|
25 assert(0);
|
|
26 }
|
|
27 if(1 != arr[0]){
|
|
28 assert(0);
|
|
29 }
|
|
30 if(3 != arr[1]){
|
|
31 assert(0);
|
|
32 }
|
492
|
33
|
|
34 return 0;
|
|
35 }
|
|
36
|