view test/with1.d @ 154:5cb946f323d2 trunk

[svn r160] Added cleaned version of dmd's linux exception runtime
author ChristianK
date Tue, 25 Mar 2008 18:25:24 +0100
parents 8b0e809563df
children c44e6a711885
line wrap: on
line source

module with1;
struct S
{
    int i;
    float f;
}
void main()
{
    S s;
    with(s)
    {
        i = 0;
        f = 3.4;
    }
}