undocumented restriction in scope statement

BCS BCS at pathlink.com
Fri Jun 9 13:13:25 PDT 2006


import std.stdio;

void main()
{
	scope(exit) goto head;	// line 5
	head: writef("top\n");
}


//scope_goto.d(5): cannot goto in or out of finally block



More information about the Digitalmars-d-bugs mailing list