changeset 1528:36d8e64392df

[Issue 1187] Segfault with syntax error in two-level mixin. Don Clugston <clugdbug@yahoo.com.au> 2007-04-24 http://d.puremagic.com/issues/show_bug.cgi?id=1187
author thomask
date Fri, 27 Apr 2007 17:31:50 +0000
parents 72baa306cb03
children 37c4fce34442
files nocompile/m/mixin_36_A.d nocompile/m/mixin_36_B.d
diffstat 2 files changed, 30 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/m/mixin_36_A.d	Fri Apr 27 17:31:50 2007 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <clugdbug@yahoo.com.au>
+// @date@	2007-04-24
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1187
+// @desc@	[Issue 1187] Segfault with syntax error in two-level mixin.
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.m.mixin_36_A;
+
+void a(){
+	mixin(`mixin`);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/m/mixin_36_B.d	Fri Apr 27 17:31:50 2007 +0000
@@ -0,0 +1,14 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Don Clugston <clugdbug@yahoo.com.au>
+// @date@	2007-04-24
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1187
+// @desc@	[Issue 1187] Segfault with syntax error in two-level mixin.
+
+// __DSTRESS_ELINE__ 14
+
+module dstress.nocompile.m.mixin_36_B;
+
+mixin(`mixin`);