changeset 646:91287c8afc01

Deewiant <deewiant.doesnotlike.spam@gmail.com> 2005-07-14 news:db62cr$308b$1@digitaldaemon.com
author thomask
date Sun, 28 Aug 2005 09:51:34 +0000
parents 46bd43d9404f
children 414e94a6862d
files run/f/forward_reference_13_A.d run/f/forward_reference_13_B.d run/f/forward_reference_14_A.d run/f/forward_reference_14_B.d
diffstat 4 files changed, 88 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/f/forward_reference_13_A.d	Sun Aug 28 09:51:34 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Deewiant <deewiant.doesnotlike.spam@gmail.com>
+// @date@	2005-07-14
+// @uri@	news:db62cr$308b$1@digitaldaemon.com
+
+module dstress.run.f.forward_reference_13_A;
+
+class Foo(TYPE){
+	static int function(TYPE a) myLilFunction;
+		
+	void func(int function(TYPE a) theParameter = myLilFunction){
+	}
+}
+
+int main(){
+	Foo!(int) foo = new Foo!(int);
+	foo.func();
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/f/forward_reference_13_B.d	Sun Aug 28 09:51:34 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Deewiant <deewiant.doesnotlike.spam@gmail.com>
+// @date@	2005-07-14
+// @uri@	news:db62cr$308b$1@digitaldaemon.com
+
+module dstress.run.f.forward_reference_13_B;
+
+class Foo(TYPE){
+	void func(int function(TYPE a) theParameter = myLilFunction){
+	}
+
+	static int function(TYPE a) myLilFunction;
+}
+
+int main(){
+	Foo!(int) foo = new Foo!(int);
+	foo.func();
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/f/forward_reference_14_A.d	Sun Aug 28 09:51:34 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Deewiant <deewiant.doesnotlike.spam@gmail.com>
+// @date@	2005-07-14
+// @uri@	news:db62cr$308b$1@digitaldaemon.com
+
+module dstress.run.f.forward_reference_14_A;
+
+class Foo(TYPE){
+	static int delegate(TYPE a) myLilFunction;
+		
+	void func(int delegate(TYPE a) theParameter = myLilFunction){
+	}
+}
+
+int main(){
+	Foo!(int) foo = new Foo!(int);
+	foo.func();
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/f/forward_reference_14_B.d	Sun Aug 28 09:51:34 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Deewiant <deewiant.doesnotlike.spam@gmail.com>
+// @date@	2005-07-14
+// @uri@	news:db62cr$308b$1@digitaldaemon.com
+
+module dstress.run.f.forward_reference_14_B;
+
+class Foo(TYPE){		
+	void func(int delegate(TYPE a) theParameter = myLilFunction){
+	}
+	
+	static int delegate(TYPE a) myLilFunction;
+}
+
+int main(){
+	Foo!(int) foo = new Foo!(int);
+	foo.func();
+	return 0;
+}
\ No newline at end of file