view test/static_ctor.d @ 225:74701ba40398 trunk

[svn r241] Fixed missing terminator for void main() with inline asm block.
author lindquist
date Fri, 06 Jun 2008 22:30:31 +0200
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");
}