view run/b/bug_glue_700_B.d @ 1597:8b9d4d2f925a

Fix typos in complex tests. See D bug 614.
author Christian Kamm <kamm incasoftware de>
date Tue, 09 Sep 2008 16:53:58 +0200
parents e5ceb8a4792c
children
line wrap: on
line source

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

// @author@	Kevin Bealer <kevinbealer@gmail.com>
// @date@	2007-01-22
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=875
// @desc@	[Issue 875] crash in glue.c line 700

module dstress.run.b.bug_glue_700_B;

class Foo(A){
	this(A a){
	}
}

int mk_future(A, B...)(A, B){
	alias B TArgs;
	Foo!(TArgs) TFoo;
	return 0;
}

int main(){
	int bongos(){
		return 0;
	}
	mk_future(bongos);
	return 0;
}