view run/bug_20050418_01.d @ 736:1e6afb94ce6d

updated meta data for Torture
author thomask
date Sat, 12 Nov 2005 07:28:46 +0000
parents 3522652ca5f0
children b8c0195059d9
line wrap: on
line source

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

// @author@	Kris <fu@bar.com>
// @date@	2005-04-18
// @uri@	news:d3rulu$bn9$1@digitaldaemon.com

// __DSTRESS_TORTURE_BLOCK__ -release

module dstress.run.bug_20050418_01;

class Buffer{
	uint limit;
	int position;

        invariant{
		assert (position <= limit);
	}
}

class Mapped : Buffer{
	this(){
	}

	~this(){
	}
}

int main(){
	Buffer a = new Buffer();
	Mapped b = new Mapped();
	Buffer c = new Mapped();
	assert(a);
	assert(b);
	assert(c);
	return 0;
}