Fix invalid test constraint
[mono.git] / mcs / errors / gcs0828-4.cs
1 // CS0828: An anonymous type property `Value' cannot be initialized with `lambda expression'
2 // Line: 9
3
4
5 public class Test
6 {
7         static void Main ()
8         {
9                 var v = new { Value = i => 1 };
10         }
11 }