[Swift-commit] r2727 - trunk/tests/language-behaviour
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Sun Mar 22 07:38:47 CDT 2009
Author: benc
Date: 2009-03-22 07:38:46 -0500 (Sun, 22 Mar 2009)
New Revision: 2727
Added:
trunk/tests/language-behaviour/1101-array-range.swift
Log:
test for accessing arrays generated by range operator. this test was broken by
r2674, but works in head now.
Added: trunk/tests/language-behaviour/1101-array-range.swift
===================================================================
--- trunk/tests/language-behaviour/1101-array-range.swift (rev 0)
+++ trunk/tests/language-behaviour/1101-array-range.swift 2009-03-22 12:38:46 UTC (rev 2727)
@@ -0,0 +1,8 @@
+
+int i[] = [0:9];
+
+int j[] = [0:9];
+
+foreach ix in i {
+ trace(j[ix]);
+}
More information about the Swift-commit
mailing list