Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-675.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bda5a523b8ef2eaeed4a3e117ff6bba1208cf790 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Compiler options: -r:test-675-lib.dll

using System;

public class B : A
{
	public override int GetHashCode ()
	{
		return 1;
	}
	
	public override bool Equals (object o)
	{
		return true;
	}
	
	public static bool operator == (B u1, B u2)
	{
		return true;
	}

	public static bool operator != (B u1, B u2)
	{
		return false;
	}
}

public class Test
{
	public static int Main ()
	{
		return 0;
	}
}