[amd64] Save missing register
[mono.git] / mcs / errors / cs0219-2.cs
1 // CS0219: The variable `o' is assigned but its value is never used
2 // Line: 10
3 // Compiler options: -warn:3 -warnaserror
4
5 public class MyClass2
6 {
7         static public bool b;
8         static public void Main ()
9         {
10                 object o;
11                 switch (b) {
12                 case true:
13                         o = "yo";
14                         break;
15                 }
16         }
17 }