Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

29 lines
346 B
C#

using System;
public class X {
int a;
}
public class Test {
struct test {
public int v1;
}
public static int Main () {
test a = new test();
a.v1 = 5;
Console.WriteLine (a.GetHashCode ());
X b = new X();
X c = new X();
Console.WriteLine (b.GetHashCode ());
Console.WriteLine (c.GetHashCode ());
return 0;
}
}