Merge pull request #5693 from lateralusX/lateralusX/disable-stack-overflow-win-x64
[mono.git] / mcs / errors / cs8196.cs
1 // CS8196: Reference to an implicitly typed out variable `x1' is not permitted in the same argument list
2 // Line: 8
3
4 public class C
5 {
6         public static void Main ()
7         {
8                 Test (out var x1, out x1);
9         }
10
11         static void Test (out int x, out int x2)
12         {
13                 x = 1;
14                 x2 = 2;
15         }
16 }