view tests/mini/nested3.d @ 963:fa21062b6948

Fix for tests/mini/callingconv1.d
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Sun, 15 Feb 2009 22:56:10 -0700
parents 1bb99290e03a
children
line wrap: on
line source

module nested3;

void main()
{
    int i;
    void test()
    {
        i = 3;
    }
    test();
    assert(i == 3);
}