* default.build: Fix relative path to key. Avoid use of ugly foreach
[mono.git] / mcs / errors / gcs0815-3.cs
1 // CS0815: An implicitly typed local variable declaration cannot be initialized with `lambda expression'
2 // Line: 9
3 // Compiler options: -langversion:linq
4
5 public class Test
6 {
7         static void Main ()
8         {
9                 var l = x => x + 1;
10         }
11 }
12