Merge pull request #1525 from akoeplinger/fix-dynamicdata-test
[mono-project.git] / mcs / errors / cs0165-24.cs
blobcbc9c97ce541e535aeec89daba11a04d98ba30ab
1 // CS0165: Use of unassigned local variable `a'
2 // Line: 14
4 class X
6 public static void Main ()
8 int i = 3;
9 switch (i) {
10 case 1:
11 float a = 7.0f;
12 break;
13 default:
14 float b = a + 99.0f;
15 break;