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