view nocompile/b/bug_tocsym_142_C.d @ 721:9c56e95b4ec8

Tiago Gasiba <tiago.gasiba@gmail.com> 2005-10-24 news:dji2d3$acl$1@digitaldaemon.com
author thomask
date Fri, 28 Oct 2005 21:30:26 +0000
parents
children b8c0195059d9
line wrap: on
line source

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

// @desc@	tocsym.c:142: virtual Symbol* VarDeclaration::toSymbol(): Assertion `!needThis()' failed.
// @author@	Tiago Gasiba <tiago.gasiba@gmail.com>
// @date@	2005-10-24
// @uri@	news:dji2d3$acl$1@digitaldaemon.com

// __DSTRESS_ELINE__ 22

module dstress.nocompile.b.bug_tocsym_142_C;

class S{
	int i;
}

struct C{
	S s;

	static int bug(){
		return s.i;
	}
}