Mercurial > projects > dstress
changeset 1355:96782506cee0
[Issue 854] TypeTuple in anonymous delegate causes ice in glue.c
Daniel Keep <daniel.keep+d.puremagic.com@gmail.com>
2007-01-18
http://d.puremagic.com/issues/show_bug.cgi?id=854
author | thomask |
---|---|
date | Fri, 23 Feb 2007 22:33:50 +0000 |
parents | aedfc4673dbd |
children | 36032afb4652 |
files | run/t/tuple_15_A.d run/t/tuple_15_B.d |
diffstat | 2 files changed, 37 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/t/tuple_15_A.d Fri Feb 23 22:33:50 2007 +0000 @@ -0,0 +1,18 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Daniel Keep <daniel.keep+d.puremagic.com@gmail.com> +// @date@ 2007-01-18 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=854 +// @desc@ [Issue 854] TypeTuple in anonymous delegate causes ice in glue.c + +module dstress.run.t.tuple_15_A; + +template TypeTuple(TList...){ + alias TList TypeTuple; +} + +void main(){ + auto y = function(TypeTuple!(uint,uint) ab){}; +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/t/tuple_15_B.d Fri Feb 23 22:33:50 2007 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Daniel Keep <daniel.keep+d.puremagic.com@gmail.com> +// @date@ 2007-01-18 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=854 +// @desc@ [Issue 854] TypeTuple in anonymous delegate causes ice in glue.c + +module dstress.run.t.tuple_15_B; + +template TypeTuple(TList...){ + alias TList TypeTuple; +} + +void main(){ + auto y = function(TypeTuple!(uint,uint) ab){}; + y(1u, 2u); +}