view tests/mini/bug18.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 bug18;

struct S {
    int[9] i;
}

void main()
{
    int[9] i;
    auto s = S(i);
}