view test/static_ctor.d @ 135:176bd52b3cf5 trunk

[svn r139] Fixed bug #33, thanks for the report :)
author lindquist
date Mon, 14 Jan 2008 23:09:55 +0100
parents c53b6e3fe49a
children d9d5d59873d8
line wrap: on
line source

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

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

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