view run/b/bug_toobj_191_E.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents 03b5056496f1
children
line wrap: on
line source

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

// @author@	Ant^2i <Ant^2i_member@pathlink.com>
// @date@	2005-07-04
// @uri@	news:dabjsi$16h8$1@digitaldaemon.com
// @desc@	toobj.c:191: virtual void ClassDeclaration::toObjFile(): Assertion `!scope' failed

module dstress.run.b.bug_toobj_191_E;

struct Outer(T){
	struct Inner{
		T t;
	}
	Inner i;
}

int main(){
	Outer!(int)* o=new Outer!(int);
	return 0;
}