Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / hashcode.cs
1 using System;
2
3 public class X {
4         int a;
5 }
6
7 public class Test {
8
9         struct test {
10                 public int v1;
11         }
12         public static int Main () {
13
14                 test a = new test();
15
16                 a.v1 = 5;
17                 
18                 Console.WriteLine (a.GetHashCode ());
19
20                 X b = new X();
21                 X c = new X();
22                 
23                 Console.WriteLine (b.GetHashCode ());
24                 Console.WriteLine (c.GetHashCode ());
25                 
26                 return 0;
27         }
28 }