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

struct S
{
}

class Foo<T> where T : S
{
}