New test.
[mono.git] / mcs / tests / gtest-117.cs
1 using System;
2
3 public interface IFoo<T>
4 { }
5
6 public class Foo<T>
7 {
8         public static bool Test (T x)
9         {
10                 return x is IFoo<T>;
11         }
12 }
13
14 class X
15 {
16         static void Main ()
17         {
18                 Foo<int>.Test (3);
19         }
20 }