view run/o/odd_bug_10_C.d @ 1218:3a9e5f96ad6f

Bug from cpuid wrapper thread in D.announce: char[12] str = ""; notknown <notknown@none.com> 2006-10-26 news:ehpvlb$uer$1@digitaldaemon.com
author thomask
date Thu, 23 Nov 2006 10:44:20 +0000
parents
children 1ee9a0dd42d9
line wrap: on
line source

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

// @author@	notknown <notknown@none.com>
// @date@	2006-10-26
// @uri@	news:ehpvlb$uer$1@digitaldaemon.com
// @desc@	Bug from cpuid wrapper thread in D.announce: char[12] str = "";

module dstress.run.o.odd_bug_10_C;

class C{
	char[12] str;
	uint i = 1;
}

int main(){
	auto c = new C();
	assert(c.i == 1);
	return 0;
}