merge r67228-r67235, r67237, r67251 and r67256-67259 to trunk (they are
[mono.git] / mcs / errors / gcs0283.cs
1 // CS0283: The type `T' cannot be declared const\r
2 // Line: 8\r
3 \r
4 struct S\r
5 {\r
6         public void Foo<T> () where T : struct\r
7         {\r
8                 const T t = null;\r
9         }\r
10 }