[mcs] Initial by ref returns and variables support
[mono.git] / mcs / errors / cs8171.cs
1 // CS8171: Cannot initialize a by-value variable `l' with a reference expression
2 // Line: 10
3
4 class Test
5 {
6         int field;
7
8         void Foo ()
9         {
10                 int l = ref field;
11         }
12 }