Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0309-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6606028ada2c210790112f4b4f25f37a718f02b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 // 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>'
// Line: 13

using System;

class A<T>
	where T: IComparable
{
}

class B<U,V>
	where V: A<U>
{
}

class Driver
{
	public static void Main ()
	{
	}
}