Merged changes in master libmonoruntime into PR.
[mono.git] / mcs / errors / cs0165-14.cs
1 // CS0165: Use of unassigned local variable `y'
2 // Line: 12
3
4 class test
5 {
6         static void Main(string[] args)
7         {
8                 {
9                         int x = 8;
10                 }
11                 string y;
12                 args[0] = y;    // use of unassigned variable y
13         }
14 }