view test/scope1.d @ 274:9f228c1e5311 trunk

[svn r295] Added phobos aliases to string, wstring, dstring and Error to the object.di used for testing. Test results for current revision added.
author ChristianK
date Thu, 19 Jun 2008 13:54:31 +0200
parents d9d5d59873d8
children
line wrap: on
line source

module scope1;
extern(C) int printf(char*, ...);
void main()
{
    printf("1\n");
    {
        scope(exit) printf("2\n");
    }
    printf("3\n");
}