New test.
[mono.git] /
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 }