view test/scope1.d @ 100:5071469303d4 trunk

[svn r104] TONS OF FIXES. Split up declaration, constant initializer gen and definition for globals, structs, classes and functions. Improved ClassInfo support (not complete), not in vtable yet. Fixed a bunch of forward reference problems. Much more. Major commit! :)
author lindquist
date Fri, 16 Nov 2007 08:21:47 +0100
parents 5e69b77a5c51
children d9d5d59873d8
line wrap: on
line source

module scope1;

void main()
{
    printf("1\n");
    {
        scope(exit) printf("2\n");
    }
    printf("3\n");
}