[amd64] Save missing register
[mono.git] / mcs / errors / cs8030-2.cs
1 // CS8030: Anonymous function or lambda expression converted to a void returning delegate cannot return a value
2 // Line: 9
3
4 delegate void D (int x);
5
6 class X {
7         static void Main ()
8         {
9                 D d6 = delegate (int x) { return x; }; // Return type mismatch.
10         }
11 }