Merged into single file, added assertions
[mono.git] / mcs / tests / gtest-455.cs
1 using System;
2
3 namespace ConsoleApplication1
4 {
5         class Program
6         {
7                 static void Main ()
8                 {
9                         object o = new object ();
10                         Inner<object>.Compare (o, o);
11                 }
12         }
13
14         public class Inner<T> where T : class
15         {
16                 public static void Compare (object obj, T value)
17                 {
18                         if (obj != value) { }
19                 }
20         }
21 }