[Issue 1087] Scope classes not destroyed in labeled statements in switches
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 19 13:27:42 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=1087
------- Comment #2 from gide at nwawudu.com 2009-03-19 15:27 -------
import std.stdio;
void main() {
start: // Comment this line.
scope(exit)
writefln("exit");
writefln("Got Here");
}
'exit' is not output if start: label is present.
C:\> test
Got Here
--
More information about the Digitalmars-d-bugs
mailing list