With these new tests (73-79) we have completed the tests from CS0001 to
[mono.git] / mcs / errors / bug12.cs
1 using System.Collections;
2
3         class PtrHashtable : Hashtable {
4                 class PtrComparer : IComparer {
5                         public int Compare (object x, object y)
6                         {
7                                 if (x == y)
8                                         return 0;
9                                 else
10                                         return 1;
11                         }
12                 }
13                 
14                 public PtrHashtable ()
15                 {
16                         comparer = new PtrComparer ();
17                 }
18         }
19