summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0701.cs
blob: f7c3fcb1ae218479146622f918c6d5be3f5c18d7 (plain)
1
2
3
4
5
6
7
8
// CS0701: `A' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter
// Line: 6

sealed class A { }

class Foo<T> where T : A
{
}