Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mcs / tests / test-934.cs
1 class X
2 {
3         public static int Main ()
4         {
5                 var a = new byte[] { };
6                 var b = new byte[] { };
7                 if (a.Equals (b))
8                         return 1;
9
10                 if (ReferenceEquals (a, b))
11                         return 2;
12
13                 a = new byte[0];
14                 b = new byte[0];
15                 if (a.Equals (b))
16                         return 3;
17
18                 if (ReferenceEquals (a, b))
19                         return 4;
20
21                 return 0;
22         }
23 }