changeset 527:9eb211f11783

empty declaration makes illegal delegate declaration valid Manfred Nowak <svv1999@hotmail.com> 2005-05-09 news:d5nifh$k61$2@digitaldaemon.com
author thomask
date Thu, 12 May 2005 00:16:05 +0000
parents 724f0f0afc01
children 9e0847cf535a
files nocompile/d/delegate_14_A.d nocompile/d/delegate_14_B.d
diffstat 2 files changed, 32 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/delegate_14_A.d	Thu May 12 00:16:05 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Manfred Nowak <svv1999@hotmail.com>
+// @date@	2005-05-09
+// @uri@	news:d5nifh$k61$2@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.d.delegate_14_A;
+
+int main(){
+	delegate void ();
+}
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/nocompile/d/delegate_14_B.d	Thu May 12 00:16:05 2005 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Manfred Nowak <svv1999@hotmail.com>
+// @date@	2005-05-09
+// @uri@	news:d5nifh$k61$2@digitaldaemon.com
+
+// __DSTRESS_ELINE__ 15
+
+module dstress.nocompile.d.delegate_14_B;
+
+int main(){
+	delegate void ();
+;}
+