[Swift-commit] r2934 - trunk/tests/language-behaviour

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri May 15 06:23:18 CDT 2009


Author: benc
Date: 2009-05-15 06:23:17 -0500 (Fri, 15 May 2009)
New Revision: 2934

Added:
   trunk/tests/language-behaviour/1102-array-range-step.swift
Log:
another test for array ranges

Added: trunk/tests/language-behaviour/1102-array-range-step.swift
===================================================================
--- trunk/tests/language-behaviour/1102-array-range-step.swift	                        (rev 0)
+++ trunk/tests/language-behaviour/1102-array-range-step.swift	2009-05-15 11:23:17 UTC (rev 2934)
@@ -0,0 +1,8 @@
+
+int i[] = [0:9];
+
+int j[] = [0:19:2];
+
+foreach ix in i {
+  trace(j[ix]);
+}




More information about the Swift-commit mailing list