view nocompile/invariant_07.d @ 1600:6d193e241564

Allow for tango math in creal tests.
author Christian Kamm <kamm incasoftware de>
date Sun, 04 Jan 2009 22:25:02 +0100
parents ec5e144583ea
children
line wrap: on
line source

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

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

// __DSTRESS_ELINE__ 15

module dstress.nocompile.invariant_07;

int test()
	body{
		return 0;
	}
	invariant(){
		assert(0);
	}

int main(){
	return test();
}