[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8161.cs
1 // CS8161: A static readonly field cannot be returned by reference
2 // Line: 10
3
4 class X
5 {
6         static readonly int f;
7
8         static ref int Test ()
9         {
10                 return ref f;
11         }
12 }