copied mono-api-diff.cs from mono-2-2 branch so new patch can be applied and history...
[mono.git] / mcs / errors / cs0815-5.cs
1 // CS0815: An implicitly typed local variable declaration cannot be initialized with `Tests.Main()'
2 // Line: 8
3
4 public class Tests
5 {
6         public static void Main ()
7         {
8                 var d = Main;
9         }
10 }