Merge pull request #1225 from strawd/bug22307
[mono.git] / mcs / errors / cs1503-17.cs
1 // CS1501: Argument `#1' cannot convert `ref string' expression to type `ref int'
2 // Line: 8
3 // Compiler options: -langversion:experimental
4
5 class C
6 {
7         public static void Main ()
8         {
9                 Foo (ref var x = "");
10         }
11
12         static void Foo (ref int i)
13         {
14         }
15 }