changeset 1370:ab0e4691f71e

[Issue 853] Internal error: toir.c 182 Johan Granberg <lijat.me@gmail.com> 2007-01-17 http://d.puremagic.com/issues/show_bug.cgi?id=853
author thomask
date Tue, 27 Feb 2007 16:41:48 +0000
parents dc2b72773b7f
children 1252ffd671ef
files run/b/bug_toir_182_A.d run/b/bug_toir_182_B.d run/b/bug_toir_182_C.d run/b/bug_toir_182_D.d run/b/bug_toir_182_E.d
diffstat 5 files changed, 186 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_toir_182_A.d	Tue Feb 27 16:41:48 2007 +0000
@@ -0,0 +1,38 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Johan Granberg <lijat.me@gmail.com>
+// @date@	2007-01-17
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=853
+// @desc@	[Issue 853] Internal error: toir.c 182
+
+module dstress.run.b.bug_toir_182_A;
+
+class StackContext{
+	this(void delegate() dg){
+	}
+}
+
+class Test{
+	StackContext context;
+
+	private void init(){
+		context = new StackContext({});
+	}
+	
+	this(){
+		init();
+	}
+}
+
+int main(){
+	Test t = new Test();
+	if(!t){
+		assert(0);
+	}
+	if(!t.context){
+		assert(0);
+	}
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_toir_182_B.d	Tue Feb 27 16:41:48 2007 +0000
@@ -0,0 +1,38 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Johan Granberg <lijat.me@gmail.com>
+// @date@	2007-01-17
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=853
+// @desc@	[Issue 853] Internal error: toir.c 182
+
+module dstress.run.b.bug_toir_182_B;
+
+class StackContext{
+	this(void delegate() dg){
+	}
+}
+
+class Test{
+	StackContext context;
+
+	void init(){
+		context = new StackContext({});
+	}
+	
+	this(){
+		init();
+	}
+}
+
+int main(){
+	Test t = new Test();
+	if(!t){
+		assert(0);
+	}
+	if(!t.context){
+		assert(0);
+	}
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_toir_182_C.d	Tue Feb 27 16:41:48 2007 +0000
@@ -0,0 +1,38 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Johan Granberg <lijat.me@gmail.com>
+// @date@	2007-01-17
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=853
+// @desc@	[Issue 853] Internal error: toir.c 182
+
+module dstress.run.b.bug_toir_182_C;
+
+class StackContext{
+	this(void delegate() dg){
+	}
+}
+
+class Test{
+	StackContext context;
+
+	protected void init(){
+		context = new StackContext({});
+	}
+	
+	this(){
+		init();
+	}
+}
+
+int main(){
+	Test t = new Test();
+	if(!t){
+		assert(0);
+	}
+	if(!t.context){
+		assert(0);
+	}
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_toir_182_D.d	Tue Feb 27 16:41:48 2007 +0000
@@ -0,0 +1,38 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Johan Granberg <lijat.me@gmail.com>
+// @date@	2007-01-17
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=853
+// @desc@	[Issue 853] Internal error: toir.c 182
+
+module dstress.run.b.bug_toir_182_D;
+
+class StackContext{
+	this(void delegate() dg){
+	}
+}
+
+class Test{
+	StackContext context;
+
+	public void init(){
+		context = new StackContext({});
+	}
+	
+	this(){
+		init();
+	}
+}
+
+int main(){
+	Test t = new Test();
+	if(!t){
+		assert(0);
+	}
+	if(!t.context){
+		assert(0);
+	}
+	return 0;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_toir_182_E.d	Tue Feb 27 16:41:48 2007 +0000
@@ -0,0 +1,34 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Johan Granberg <lijat.me@gmail.com>
+// @date@	2007-01-17
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=853
+// @desc@	[Issue 853] Internal error: toir.c 182
+
+module dstress.run.b.bug_toir_182_E;
+
+class StackContext{
+	this(void delegate() dg){
+	}
+}
+
+class Test{
+	StackContext context;
+
+	private this(){
+		context = new StackContext({});
+	}
+}
+
+int main(){
+	Test t = new Test();
+	if(!t){
+		assert(0);
+	}
+	if(!t.context){
+		assert(0);
+	}
+	return 0;
+}