[Swift-commit] r4751 - trunk/tests/language/working

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Sun Jul 3 16:38:49 CDT 2011


Author: hategan
Date: 2011-07-03 16:38:49 -0500 (Sun, 03 Jul 2011)
New Revision: 4751

Modified:
   trunk/tests/language/working/0061-assignment.swift
   trunk/tests/language/working/case1.swift
   trunk/tests/language/working/case3.swift
Log:
initialize used variables

Modified: trunk/tests/language/working/0061-assignment.swift
===================================================================
--- trunk/tests/language/working/0061-assignment.swift	2011-07-03 21:37:16 UTC (rev 4750)
+++ trunk/tests/language/working/0061-assignment.swift	2011-07-03 21:38:49 UTC (rev 4751)
@@ -3,5 +3,5 @@
 r=3;
 }
 
-int s;
+int s = 1;
 int a=echo(s);

Modified: trunk/tests/language/working/case1.swift
===================================================================
--- trunk/tests/language/working/case1.swift	2011-07-03 21:37:16 UTC (rev 4750)
+++ trunk/tests/language/working/case1.swift	2011-07-03 21:38:49 UTC (rev 4751)
@@ -4,7 +4,7 @@
 int d = 5;
 int j,uuu;
 string s;
-int g, t, e;
+int g = 1, t, e;
 
 switch(d)
 {

Modified: trunk/tests/language/working/case3.swift
===================================================================
--- trunk/tests/language/working/case3.swift	2011-07-03 21:37:16 UTC (rev 4750)
+++ trunk/tests/language/working/case3.swift	2011-07-03 21:38:49 UTC (rev 4751)
@@ -4,9 +4,9 @@
 f(int i) { int f=i;}
 
 int d=99;
-int g;
+int g = 1;
 int j;
-int t,uuu,e;
+int t= 2,uuu,e =5;
 string s;
 
 switch(d)




More information about the Swift-commit mailing list