view tests/minicomplex/u.d @ 356:44daf304421c trunk

[svn r377] The previous check was too strict, it completely disallowed gotos within finally blocks. This reenables them as long as they don't cross a finally boundary.
author ChristianK
date Mon, 14 Jul 2008 12:00:24 +0200
parents 1bb99290e03a
children
line wrap: on
line source

import tango.io.Console;
void main()
{
    Cout("getting name std").newline;
    Cerr("getting name err").newline;
    auto s = Cin.get();
    Cout("putting name").newline;
    Cout (s).newline;
}