[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8189.cs
1 // CS8189: By reference return delegate does not match `C.D()' return type
2 // Line: 15
3
4 class C
5 {
6         delegate ref int D ();
7
8         static int M ()
9         {
10                 return 1;
11         }
12
13         static void Main ()
14         {
15                 D d = new D (M);
16         }
17 }