view tests/mini/nested3.d @ 810:67fcd9df8b79

Fixed ModuleInfo patch check, failed on 64bit
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 30 Nov 2008 20:41:17 +0100
parents 1bb99290e03a
children
line wrap: on
line source

module nested3;

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