view run/enum_10.d @ 202:4cd33115f015

1) fixed @author@ typos 2) added reporter.txt
author thomask
date Wed, 15 Dec 2004 17:37:40 +0000
parents 4738f3ef80ad
children 52c9e86b6486
line wrap: on
line source

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

// @author@	John Reimer <brk_6502@NO_SPA_M.yahoo.com>
// @date@	2004-12-11
// @uri@	news:cpfvm8$krm$1@digitaldaemon.com
// @url@	nntp://news.digitalmars.com/digitalmars.D.bugs/2534

module dstress.run.enum_10;

struct Struct{
	Enum e;
}

enum Enum{
	A,
	B,
	C
}

int main(){
	Struct s;
	assert(s.e == Enum.A);
	assert(s.e == 0);
	return 0;
}