Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
369 B
C#

// CS0165: Use of unassigned local variable `trial'
// Line: 18
using System;
class Test
{
public static void Main (string[] args)
{
bool trial;
string action = "add_trial";
switch (action) {
case "add_trial":
trial = true;
goto case "add_to_project";
case "add_to_project":
Console.WriteLine (trial);
break;
case "test":
break;
}
}
}