New test.
[mono.git] / mcs / errors / cs1677.cs
1 // cs1677.cs: Parameter `1' should not be declared with the `ref' keyword\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