[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / gtest-229.cs
blobe32e26a3ca61c901eb969224038f9f3a70328c7f
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
5 public class B : IComparable<B> {
6 public int CompareTo (B b)
8 return 0;
12 public class Tester
14 public static int Main ()
16 B b = new B ();
18 // This should be false
19 if (b is IComparable<object>)
20 return 1;
21 return 0;