changeset 680:7242b6a90eb2

Thomas Kuehne <thomas-dloop@kuehne.cn> 2005-09-22 news:dguji0$1e1i$4@digitaldaemon.com
author thomask
date Thu, 22 Sep 2005 15:44:32 +0000
parents 8907387e7a6a
children be27bc9d0d28
files run/i/in_out_body_09_A.d run/i/in_out_body_09_B.d run/i/in_out_body_09_C.d run/i/in_out_body_09_D.d run/i/in_out_body_09_E.d
diffstat 5 files changed, 103 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/i/in_out_body_09_A.d	Thu Sep 22 15:44:32 2005 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2005-09-22
+// @uri@	news:dguji0$1e1i$4@digitaldaemon.com
+
+module dstess.run.i.in_out_body_09_A;
+
+int main(){
+	int test(int i)
+	body {
+		return i + 1;
+	}
+	
+	assert(test(1)==2);
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/i/in_out_body_09_B.d	Thu Sep 22 15:44:32 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2005-09-22
+// @uri@	news:dguji0$1e1i$4@digitaldaemon.com
+
+module dstess.run.i.in_out_body_09_B;
+
+alias int intX;
+
+int main(){
+	intX test(intX i)
+	body {
+		return i + 1;
+	}
+	
+	assert(test(1)==2);
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/i/in_out_body_09_C.d	Thu Sep 22 15:44:32 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2005-09-22
+// @uri@	news:dguji0$1e1i$4@digitaldaemon.com
+
+module dstess.run.i.in_out_body_09_C;
+
+typedef int intX;
+
+int main(){
+	intX test(intX i)
+	body {
+		return i + 1;
+	}
+	
+	assert(test(1)==2);
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/i/in_out_body_09_D.d	Thu Sep 22 15:44:32 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2005-09-22
+// @uri@	news:dguji0$1e1i$4@digitaldaemon.com
+
+module dstess.run.i.in_out_body_09_D;
+
+typedef int intX;
+
+intX test(intX i)
+body {
+	return i + 1;
+}
+
+int main(){
+	assert(test(1)==2);
+	return 0;
+}
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/i/in_out_body_09_E.d	Thu Sep 22 15:44:32 2005 +0000
@@ -0,0 +1,21 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Thomas Kuehne <thomas-dloop@kuehne.cn>
+// @date@	2005-09-22
+// @uri@	news:dguji0$1e1i$4@digitaldaemon.com
+
+module dstess.run.i.in_out_body_09_E;
+
+alias int intX;
+
+intX test(intX i)
+body {
+	return i + 1;
+}
+
+int main(){
+	assert(test(1)==2);
+	return 0;
+}
\ No newline at end of file