[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8149.cs
1 // CS8149: By-reference returns can only be used in methods that return by reference
2 // Line: 10
3
4 class A
5 {
6         int p;
7
8         int Test ()
9         {
10                 return ref p;
11         }
12 }