# HG changeset patch # User thomask # Date 1172270030 0 # Node ID 96782506cee0a9582d8fe3653ae9773f440753a4 # Parent aedfc4673dbd279b159f30e58cd14eb70d16daf3 [Issue 854] TypeTuple in anonymous delegate causes ice in glue.c Daniel Keep 2007-01-18 http://d.puremagic.com/issues/show_bug.cgi?id=854 diff -r aedfc4673dbd -r 96782506cee0 run/t/tuple_15_A.d --- /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 +// @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){}; +} diff -r aedfc4673dbd -r 96782506cee0 run/t/tuple_15_B.d --- /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 +// @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); +}