[Swift-commit] r7905 - trunk/tests/language-behaviour/IO

hategan at ci.uchicago.edu hategan at ci.uchicago.edu
Tue Jun 3 15:40:12 CDT 2014


Author: hategan
Date: 2014-06-03 15:40:12 -0500 (Tue, 03 Jun 2014)
New Revision: 7905

Added:
   trunk/tests/language-behaviour/IO/170-duplicate-input.in
   trunk/tests/language-behaviour/IO/170-duplicate-input.swift
Log:
added test for duplicate stageins

Added: trunk/tests/language-behaviour/IO/170-duplicate-input.in
===================================================================
--- trunk/tests/language-behaviour/IO/170-duplicate-input.in	                        (rev 0)
+++ trunk/tests/language-behaviour/IO/170-duplicate-input.in	2014-06-03 20:40:12 UTC (rev 7905)
@@ -0,0 +1 @@
+Bla

Added: trunk/tests/language-behaviour/IO/170-duplicate-input.swift
===================================================================
--- trunk/tests/language-behaviour/IO/170-duplicate-input.swift	                        (rev 0)
+++ trunk/tests/language-behaviour/IO/170-duplicate-input.swift	2014-06-03 20:40:12 UTC (rev 7905)
@@ -0,0 +1,13 @@
+type file;
+
+
+file input <"170-duplicate-input.in">;
+
+file output <"170-duplicate-input.out">;
+
+app (file t) cat(file m, file n) { 
+        cat @filename(m) @filename(n) stdout=@filename(t);
+}
+
+output = cat(input, input);
+




More information about the Swift-commit mailing list