view nocompile/invariant_05.d @ 374:f87ba6507260

added missing meta-data
author thomask
date Thu, 31 Mar 2005 09:01:33 +0000
parents 96cadd0da1ae
children
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// invariant is only allowed in classes (dmd-0.104 documentation)

// __DSTRESS_ELINE__ 11

module dstress.nocompile.invariant_05;

invariant{
	assert(0);
}

int dummy;

static this(){
	dummy=4;
}

static ~this(){
	dummy++;
}