view run/t/tuple_12_B.d @ 1519:f71bd33bb278

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:22:49 +0000
parents f6001af60ca0
children
line wrap: on
line source

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

// @author@	downs <default_357-line@yahoo.de>
// @date@	2006-12-29
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=771
// @desc@	[Issue 771] template func returns delegate w. param list from tuple and type, odd compiler error

module dstress.run.t.tuple_12_B;

template Concat(T...){
	void delegate(T) Concat(void delegate(T) one) {
		return delegate void(T t){};
	}
}

int main() {
	void delegate(char, char, int) dg;

	dg = Concat(delegate void(char a, char b, int c) {});

	return 0;
}