Files
mono/mcs/errors/cs1632.cs
T
Marek Safar 0c31213775 error messages review
svn path=/trunk/mcs/; revision=46724
2005-06-29 14:55:08 +00:00

22 lines
240 B
C#

// cs1632.cs: 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");
}
}