view tests/mini/tryfinally1.d @ 1159:c6d6a68bb5db

Add back some enclosing scope-exit information to the frontend to produce proper error messages inside switch statements.
author Christian Kamm <kamm incasoftware de>
date Sat, 28 Mar 2009 14:39:16 +0100
parents aa6a0b7968f7
children
line wrap: on
line source

void main()
{
    try
    {
    }
    finally
    {
        debug {} // the debug statement body can be anything
    }
}