New tests, update
[mono.git] / mcs / errors / cs1661.cs
1 // CS1661: Cannot convert `anonymous method' to delegate type `D' since there is a parameter mismatch\r
2 // Line: 9\r
3 \r
4 delegate void D (int x);\r
5 \r
6 class X {\r
7         static void Main ()\r
8         {\r
9                 D d2 = delegate (ref int x) {};\r
10         }\r
11 }\r