[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8150.cs
1 // CS8150: By-reference return is required when method returns by reference
2 // Line: 10
3
4 class A
5 {
6         int p;
7
8         ref int Test ()
9         {
10                 return p;
11         }
12 }