2010-05-27 Marek Safar <marek.safar@gmail.com>
[mono.git] / mcs / errors / gcs0309-4.cs
1  // gcs0309.cs: The type `U' must be convertible to `System.IComparable' in order to use it as parameter `T' in the generic type or method `A<T>'
2 // Line: 13
3
4 using System;
5
6 class A<T>
7         where T: IComparable
8 {
9 }
10
11 class B<U,V>
12         where V: A<U>
13 {
14 }
15
16 class Driver
17 {
18         public static void Main ()
19         {
20         }
21 }