view test/static_ctor.d @ 310:d20cf0dec9c1 trunk

[svn r331] Fixed, forgot to default initialize the SynchronizedStatement enclosinghandler.
author lindquist
date Sat, 28 Jun 2008 11:50:28 +0200
parents d9d5d59873d8
children
line wrap: on
line source

extern(C) int printf(char*, ...);

static this()
{
    printf("static this\n");
}

static ~this()
{
    printf("static ~this\n");
}

void main()
{
    printf("main\n");
}