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

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2008-08-29 17:14:04 +0400
committerMarek Safar <marek.safar@gmail.com>2008-08-29 17:14:04 +0400
commitf3135f8bb6408da92f03d1308e9d3a9cd29960d2 (patch)
treeb84f92e422d6b109db55c04530e904c7f45eb4ab /mcs/tests/test-675.cs
parentca014ad2b1f52b44e913c8e90a3b84e2c16328b7 (diff)
New test
svn path=/trunk/mcs/; revision=111919
Diffstat (limited to 'mcs/tests/test-675.cs')
-rwxr-xr-xmcs/tests/test-675.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/mcs/tests/test-675.cs b/mcs/tests/test-675.cs
new file mode 100755
index 00000000000..bda5a523b8e
--- /dev/null
+++ b/mcs/tests/test-675.cs
@@ -0,0 +1,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;
+ }
+}