Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0701-2.cs
1 // gcs0701.cs: `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 }