Merge remote branch 'upstream/master'
[mono.git] / mcs / errors / cs0701-2.cs
1 // CS0701: `S' is not a valid constraint. A constraint must be an interface, a non-sealed class or a type parameter
2 // Line: 8
3
4 struct S
5 {
6 }
7
8 class Foo<T> where T : S
9 {
10 }