[amd64] Save missing register
[mono.git] / mcs / errors / cs0428-2.cs
1 // CS0428: Cannot convert method group `Main' to non-delegate type `void*'. Consider using parentheses to invoke the method
2 // Line: 9
3 // Compiler options: -unsafe
4
5 unsafe class C
6 {
7         public static void Main ()
8         {
9                 fixed (void* f = Main)
10                 {
11                 }
12         }
13 }