changeset 1398:51ad523322be

[Issue 1030] ICE one-liner; struct in delegate downs <default_357-line@yahoo.de> 2007-03-07 http://d.puremagic.com/issues/show_bug.cgi?id=1030
author thomask
date Thu, 08 Mar 2007 16:25:04 +0000
parents 8cbb1b6de2a3
children 409d6e0aa69e
files nocompile/s/struct_29_A.d nocompile/s/struct_29_B.d
diffstat 2 files changed, 36 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/s/struct_29_A.d	Thu Mar 08 16:25:04 2007 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	downs <default_357-line@yahoo.de>
+// @date@	2007-03-07
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1030
+// @desc@	[Issue 1030] ICE one-liner; struct in delegate
+
+module dstress.nocompile.s.struct_29_A;
+
+void main() {
+	void delegate() test = {
+		struct test2{
+			;
+		}
+	};
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/s/struct_29_B.d	Thu Mar 08 16:25:04 2007 +0000
@@ -0,0 +1,18 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	downs <default_357-line@yahoo.de>
+// @date@	2007-03-07
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1030
+// @desc@	[Issue 1030] ICE one-liner; struct in delegate
+
+module dstress.nocompile.s.struct_29_B;
+
+void main() {
+		struct test1{}
+	void delegate() test = {
+		struct test2{
+		}
+	};
+}