diff run/r/ref_01_A.d @ 1517:cf7719e0ef1b

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:21:32 +0000
parents
children 01c289574a6d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/r/ref_01_A.d	Fri Apr 27 17:21:32 2007 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.run.r.ref_01_A;
+
+void test(ref int i){
+	i++;
+}
+
+int main(){
+	int i = 2;
+	test(i);
+	if(3 != i){
+		assert(0);
+	}
+
+	return 0;
+}