changeset 1022:db52d0fa9528

Assertion failure :: template.c:2111 <h3r3tic@mat.uni.torun.pl> 2006-05-23 news:bug-153-3@http.d.puremagic.com/bugzilla/
author thomask
date Wed, 24 May 2006 16:23:25 +0000
parents ff4a389c86fb
children 740c7e3dae39
files nocompile/a/alias_36_A.d nocompile/a/alias_36_B.d nocompile/a/alias_36_C.d nocompile/a/alias_36_D.d
diffstat 4 files changed, 96 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/alias_36_A.d	Wed May 24 16:23:25 2006 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<h3r3tic@mat.uni.torun.pl>
+// @date@	2006-05-23
+// @uri@	news:bug-153-3@http.d.puremagic.com/bugzilla/
+
+// __DSTRESS_ELINE__ 19
+
+module dstress.nocompile.a.alias_36_A;
+
+template bar(T) {
+	void foo() {
+	}
+}
+
+alias bar!(long).foo foo;
+alias bar!(char).foo foo;
+
+void main() {
+	foo!(long);
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/alias_36_B.d	Wed May 24 16:23:25 2006 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<h3r3tic@mat.uni.torun.pl>
+// @date@	2006-05-23
+// @uri@	news:bug-153-3@http.d.puremagic.com/bugzilla/
+
+// __DSTRESS_ELINE__ 22
+
+module dstress.nocompile.a.alias_36_B;
+
+template bar(T) {
+	void foo(T t) {
+	}
+}
+
+alias bar!(long).foo foo;
+alias bar!(char).foo foo;
+
+void main() {
+	foo!(long);
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/alias_36_C.d	Wed May 24 16:23:25 2006 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<h3r3tic@mat.uni.torun.pl>
+// @date@	2006-05-23
+// @uri@	news:bug-153-3@http.d.puremagic.com/bugzilla/
+
+// __DSTRESS_ELINE__ 22
+
+module dstress.nocompile.a.alias_36_C;
+
+template bar(T) {
+	void foo(T t) {
+	}
+}
+
+alias bar!(long).foo foo;
+alias bar!(char).foo foo;
+
+void main() {
+	mixin foo!(long);
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/a/alias_36_D.d	Wed May 24 16:23:25 2006 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	<h3r3tic@mat.uni.torun.pl>
+// @date@	2006-05-23
+// @uri@	news:bug-153-3@http.d.puremagic.com/bugzilla/
+
+// __DSTRESS_ELINE__ 22
+
+module dstress.nocompile.a.alias_36_D;
+
+template bar(T) {
+	void foo(T t) {
+	}
+}
+
+mixin bar!(long);
+mixin bar!(char);
+
+void main() {
+	foo!(int);
+}
+