Mercurial > projects > dstress
changeset 1273:7b911baa249b
internal compiler error: Aborted
sa <someanon@yahoo.com>
2006-12-17
http://d.puremagic.com/issues/show_bug.cgi?id=695
author | thomask |
---|---|
date | Sat, 23 Dec 2006 16:12:22 +0000 |
parents | ecd6e898948d |
children | fa5b19cd8877 |
files | compile/b/bug_d_irstate_244_A.d compile/b/bug_d_irstate_244_B.d compile/b/bug_d_irstate_244_C.d |
diffstat | 3 files changed, 59 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/b/bug_d_irstate_244_A.d Sat Dec 23 16:12:22 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ sa <someanon@yahoo.com> +// @date@ 2006-12-17 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=695 +// @desc@ internal compiler error: Aborted + +module dstress.compile.b.bug_d_irstate_244_A; + +class String{ + int indexOf(){ + test: + for(int i; ;){ + continue test; + return 0; + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/b/bug_d_irstate_244_B.d Sat Dec 23 16:12:22 2006 +0000 @@ -0,0 +1,20 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ sa <someanon@yahoo.com> +// @date@ 2006-12-17 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=695 +// @desc@ internal compiler error: Aborted + +module dstress.compile.b.bug_d_irstate_244_B; + +class String{ + int indexOf(){ + test: + for(; ;){ + continue test; + return 0; + } + } +}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/b/bug_d_irstate_244_C.d Sat Dec 23 16:12:22 2006 +0000 @@ -0,0 +1,19 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ sa <someanon@yahoo.com> +// @date@ 2006-12-17 +// @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=695 +// @desc@ internal compiler error: Aborted + +module dstress.compile.b.bug_d_irstate_244_C; + +class String{ + void indexOf(){ + test: + for(int i; ;){ + continue test; + } + } +}