New test.
[mono.git] / mcs / errors / cs1688.cs
1 // CS1688: Cannot convert anonymous method block without a parameter list to delegate type `C.WithOutParam' because it has one or more `out' parameters\r
2 // Line: 10\r
3 \r
4 class C\r
5 {\r
6         delegate void WithOutParam (out string value);\r
7 \r
8     static void Main() \r
9     {\r
10         WithOutParam o = delegate\r
11                         { \r
12                                 return;\r
13                         };\r
14     }\r
15 }