view run/b/bug_toobj_191_E.d @ 1630:d0efa3ae5522 default tip

run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author David Nadlinger <code@klickverbot.at>
date Sat, 23 Apr 2011 22:57:32 +0200
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;
}