# HG changeset patch # User thomask # Date 1167142883 0 # Node ID 91479703e22e82bcc2cdb817ffc3944dc2d03e1d # Parent 75288b41b6c7b747cdf35cf7f1c5d9663810369b [Issue 710] New: compiler assertion failure w/ templates Dan 2006-12-22 http://d.puremagic.com/issues/show_bug.cgi?id=710 diff -r 75288b41b6c7 -r 91479703e22e nocompile/t/template_52_A.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/template_52_A.d Tue Dec 26 14:21:23 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Dan +// @date@ 2006-12-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=710 +// @desc@ [Issue 710] New: compiler assertion failure w/ templates + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.t.template_52_A; + +static int i=0; + +template NEXT(int idx){ + const NEXT = idx; +} + +ubyte HELO = NEXT!(i++); diff -r 75288b41b6c7 -r 91479703e22e nocompile/t/template_52_B.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/template_52_B.d Tue Dec 26 14:21:23 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Dan +// @date@ 2006-12-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=710 +// @desc@ [Issue 710] New: compiler assertion failure w/ templates + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.t.template_52_B; + +const int i=0; + +template NEXT(int idx){ + const NEXT = idx; +} + +ubyte HELO = NEXT!(i++); diff -r 75288b41b6c7 -r 91479703e22e nocompile/t/template_52_C.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nocompile/t/template_52_C.d Tue Dec 26 14:21:23 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Dan +// @date@ 2006-12-22 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=710 +// @desc@ [Issue 710] New: compiler assertion failure w/ templates + +// __DSTRESS_ELINE__ 20 + +module dstress.nocompile.t.template_52_C; + +int i = 0; + +template NEXT(int idx){ + auto NEXT = idx; +} + +ubyte HELO = NEXT!(i++); diff -r 75288b41b6c7 -r 91479703e22e reporter.txt --- a/reporter.txt Tue Dec 26 14:21:14 2006 +0000 +++ b/reporter.txt Tue Dec 26 14:21:23 2006 +0000 @@ -38,6 +38,7 @@ Christopher Lane Hinson clayasaurus D Trebbien +Dan Daniel Horn Dave david