Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs1959-2.cs
1 // CS1959: Type parameter `T' cannot be declared const
2 // Line: 8
3
4 struct S
5 {
6         public void Foo<T> () where T : struct
7         {
8                 const T t = null;
9         }
10 }