view tests/mini/sync1.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 1bb99290e03a
children
line wrap: on
line source

module sync1;

void main()
{
    int i;
    int j;
    synchronized j = i;
}