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

22 lines
237 B
C#

// CS1632: Control cannot leave the body of an anonymous method
// Line: 12
using System;
class X {
delegate void T ();
static void Main ()
{
T t = delegate {
goto L;
};
L:
Console.WriteLine ("Hello");
}
}