Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0165-55.cs
blob3375850f71942ec56b1268e5da507a3e8db4228f
1 // CS0165: Use of unassigned local variable `res'
2 // Line: 11
4 class X
6 public static int Main ()
8 string[] a = null;
9 int res;
10 var m = a?[res = 3];
11 System.Console.WriteLine (res);
12 return 0;