changeset 860:bedacf8199bc

Bruno Medeiros <daiphoenixNO@SPAMlycos.com> 2006-01-06 news:dpud2c$5ch$1@digitaldaemon.com
author thomask
date Fri, 24 Feb 2006 07:25:57 +0000
parents 1c98e13430f1
children cb9e1f41478c
files run/e/ExpressionStatement_09_A.d run/e/ExpressionStatement_09_B.d
diffstat 2 files changed, 46 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/e/ExpressionStatement_09_A.d	Fri Feb 24 07:25:57 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Bruno Medeiros <daiphoenixNO@SPAMlycos.com>
+// @date@	2006-01-06
+// @uri@	news:dpud2c$5ch$1@digitaldaemon.com
+
+
+module dstress.run.e.ExpressionStatement_09_A;
+
+int status;
+
+void func() {
+	status++;
+}
+
+int main(){
+	func;
+	if(status == 1){
+		return 0;
+	}
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/e/ExpressionStatement_09_B.d	Fri Feb 24 07:25:57 2006 +0000
@@ -0,0 +1,23 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Bruno Medeiros <daiphoenixNO@SPAMlycos.com>
+// @date@	2006-01-06
+// @uri@	news:dpud2c$5ch$1@digitaldaemon.com
+
+
+module dstress.run.e.ExpressionStatement_09_B;
+
+int status;
+
+void func() {
+	status++;
+}
+
+int main(){
+	func, func();
+	if(status == 2){
+		return 0;
+	}
+}