Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / largeexp.cs
1 using System;
2
3 class Test {
4
5         private static int[] crc_lookup=new int[256];
6
7         public byte[] header_base = new byte [10];
8         public int header = 0;
9
10         internal int checksum() {
11                 uint crc_reg=0;
12                 int i = 5;
13                 
14                 crc_reg = (crc_reg<<8)^(uint)(crc_lookup[((crc_reg >> 24)&0xff)^(header_base[header+i]&0xff)]);
15
16                 return 0;
17
18         }
19         
20         
21         public static int Main () {
22                 Test t1 = new Test ();
23                 
24                 return t1.checksum();
25         }
26 }