using System;
public class Test
{
public static void Main()
{
int x = 1;
var v = x switch {
1 => "test",
_ => "done"
};
Console.WriteLine(v);
switch(1)
{
case 0: Console.WriteLine("case 0");
break;
default: goto case default;
}
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCWludCB4ID0gMTsKCQl2YXIgdiA9IHggc3dpdGNoIHsKCQkJMSA9PiAidGVzdCIsCgkJCV8gPT4gImRvbmUiCgkJCX07CgkJQ29uc29sZS5Xcml0ZUxpbmUodik7CgkJc3dpdGNoKDEpCgkJewoJCQljYXNlIDA6IENvbnNvbGUuV3JpdGVMaW5lKCJjYXNlIDAiKTsKCQkJYnJlYWs7CgkJCWRlZmF1bHQ6IGdvdG8gY2FzZSBkZWZhdWx0OwoJCX0KCX0KfQo=