changeset 546:f0f1f142bf6d

cross-module multiply nested template instantiation with inline function from inside function Burton Radons <burton-radons@smocky.com> 2005-05-10 news:d5s3cd$7tn$1@digitaldaemon.com
author thomask
date Thu, 19 May 2005 07:12:07 +0000
parents 7b5efee9d724
children e482f375f716
files compile/b/bug_20050510_A1.d compile/b/bug_20050510_B1.d compile/b/bug_20050510_C1.d run/b/bug_20050510_A2.d run/b/bug_20050510_B2.d run/b/bug_20050510_C2.d run/b/bug_20050510_D2.d
diffstat 7 files changed, 147 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/b/bug_20050510_A1.d	Thu May 19 07:12:07 2005 +0000
@@ -0,0 +1,25 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-10
+// @uri@	news:d5s3cd$7tn$1@digitaldaemon.com
+
+module /+dstress.+/compile.b.bug_20050510_A1;
+
+struct TC(T){
+	void method(){
+		void inline_function(){
+		}
+	}
+}
+
+template TB(T){
+	alias TC!(T) tc_instance;
+}
+
+struct TA(T){
+	mixin TB!(T);
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/b/bug_20050510_B1.d	Thu May 19 07:12:07 2005 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-10
+// @uri@	news:d5s3cd$7tn$1@digitaldaemon.com
+
+module /+dstress.+/compile.b.bug_20050510_B1;
+
+struct TC(T){
+	void method(){
+	}
+}
+
+template TB(T){
+	alias TC!(T) tc_instance;
+}
+
+struct TA(T){
+	mixin TB!(T);
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/b/bug_20050510_C1.d	Thu May 19 07:12:07 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-10
+// @uri@	news:d5s3cd$7tn$1@digitaldaemon.com
+
+module /+dstress.+/compile.b.bug_20050510_C1;
+
+struct TC(T){
+	void method(){
+		void inline_function(){
+		}
+	}
+}
+
+struct TA(T){
+	alias TC!(T) tc_instance;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_20050510_A2.d	Thu May 19 07:12:07 2005 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-10
+// @uri@	news:d5s3cd$7tn$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ compile/b/bug_20050510_A1.d
+
+module dstress.run.b.bug_20050510_A2;
+
+import /+dstress.+/compile.b.bug_20050510_A1;
+
+int main(){
+	TA!(int) variable;
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_20050510_B2.d	Thu May 19 07:12:07 2005 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-10
+// @uri@	news:d5s3cd$7tn$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ compile/b/bug_20050510_B1.d
+
+module dstress.run.b.bug_20050510_B2;
+
+import /+dstress.+/compile.b.bug_20050510_B1;
+
+int main(){
+	TA!(int) variable;
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_20050510_C2.d	Thu May 19 07:12:07 2005 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-10
+// @uri@	news:d5s3cd$7tn$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ compile/b/bug_20050510_C1.d
+
+module dstress.run.b.bug_20050510_C2;
+
+import /+dstress.+/compile.b.bug_20050510_C1;
+
+int main(){
+	TA!(int) variable;
+	return 0;
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/b/bug_20050510_D2.d	Thu May 19 07:12:07 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Burton Radons <burton-radons@smocky.com>
+// @date@	2005-05-10
+// @uri@	news:d5s3cd$7tn$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ compile/b/bug_20050510_A1.d
+
+module dstress.run.b.bug_20050510_D2;
+
+import /+dstress.+/compile.b.bug_20050510_A1;
+
+alias TA!(int) TA_int;
+
+int main(){
+	TA_int variable;
+	return 0;
+}
+