diff run/with_12.d @ 1125:a929acac9127

various test case fixes
author thomask
date Wed, 06 Sep 2006 05:07:33 +0000
parents b8b7a330468a
children 52c9e86b6486
line wrap: on
line diff
--- a/run/with_12.d	Sun Sep 03 09:20:22 2006 +0000
+++ b/run/with_12.d	Wed Sep 06 05:07:33 2006 +0000
@@ -16,11 +16,16 @@
 int main(){
 	Entry[10] table;
 
-	assert(table[1].a==0);
-	with( table[1]){
+	if(table[1].a != 0){
+		assert(0);
+	}
+	
+	with(table[1]){
 		a=1;
 	}
-	assert(table[1].a==1);
+	if(table[1].a != 1){
+		assert(0);
+	}
 
 	return 0;
-}
\ No newline at end of file
+}