a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
303 B
C#
24 lines
303 B
C#
namespace TestGotoLabels
|
|
{
|
|
class GotoLabelsTest
|
|
{
|
|
public delegate void MyDelegate ();
|
|
|
|
public static int Main ()
|
|
{
|
|
TestMethod2 (delegate () {
|
|
goto outLabel;
|
|
outLabel:
|
|
return;
|
|
});
|
|
|
|
return 0;
|
|
}
|
|
|
|
public static void TestMethod2 (MyDelegate md)
|
|
{
|
|
md.Invoke ();
|
|
}
|
|
}
|
|
}
|