changeset 367:58ba24adbc52

glue.c 622 Jarrett Billingsley <kb3ctd2@yahoo.com> 2005-03-25 news:d21vhg$pld$1@digitaldaemon.com
author thomask
date Sat, 26 Mar 2005 07:01:53 +0000
parents 1e56e7d78703
children 7bc0cb26b7bb
files run/debug_info_03.d run/debug_info_04.d run/debug_info_05.d run/debug_info_06.d
diffstat 4 files changed, 104 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/debug_info_03.d	Sat Mar 26 07:01:53 2005 +0000
@@ -0,0 +1,24 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Jarrett Billingsley <kb3ctd2@yahoo.com>
+// @date@	2005-03-25
+// @uri@	news:d21vhg$pld$1@digitaldaemon.com
+
+module dstress.run.debug_info_03;
+
+class MyClass{
+	int check(fn f){
+		return 1;
+	}
+}
+
+alias int function(MyClass m) fn;
+
+int main(){
+	MyClass m = new MyClass();
+	fn f;
+	assert(m.check(f)==1);
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/debug_info_04.d	Sat Mar 26 07:01:53 2005 +0000
@@ -0,0 +1,26 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Jarrett Billingsley <kb3ctd2@yahoo.com>
+// @date@	2005-03-25
+// @uri@	news:d21vhg$pld$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ -g
+
+module dstress.run.debug_info_04;
+
+class MyClass{
+	int check(fn f){
+		return 1;
+	}
+}
+
+alias int function(MyClass m) fn;
+
+int main(){
+	MyClass m = new MyClass();
+	fn f;
+	assert(m.check(f)==1);
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/debug_info_05.d	Sat Mar 26 07:01:53 2005 +0000
@@ -0,0 +1,27 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Jarrett Billingsley <kb3ctd2@yahoo.com>
+// @date@	2005-03-25
+// @uri@	news:d21vhg$pld$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ -g
+
+module dstress.run.debug_info_05;
+
+struct MyStruct{
+}
+
+int check(fn f){
+	return 1;
+}
+	
+alias int function(MyStruct m) fn;
+
+int main(){
+	MyStruct m;
+	fn f;
+	assert(check(f)==1);
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/debug_info_06.d	Sat Mar 26 07:01:53 2005 +0000
@@ -0,0 +1,27 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Jarrett Billingsley <kb3ctd2@yahoo.com>
+// @date@	2005-03-25
+// @uri@	news:d21vhg$pld$1@digitaldaemon.com
+
+// __DSTRESS_DFLAGS__ -g
+
+module dstress.run.debug_info_06;
+
+struct MyStruct{
+}
+
+int check(fn f){
+	return 1;
+}
+	
+alias int function(int m) fn;
+
+int main(){
+	MyStruct m;
+	fn f;
+	assert(check(f)==1);
+	return 0;
+}
\ No newline at end of file