[Swift-commit] r3686 - trunk/tests/language/should-not-work
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Tue Oct 19 13:53:24 CDT 2010
Author: skenny
Date: 2010-10-19 13:53:24 -0500 (Tue, 19 Oct 2010)
New Revision: 3686
Added:
trunk/tests/language/should-not-work/118-keyword-misuse-stdout.swift
Log:
test for use of keyword stdout
Added: trunk/tests/language/should-not-work/118-keyword-misuse-stdout.swift
===================================================================
--- trunk/tests/language/should-not-work/118-keyword-misuse-stdout.swift (rev 0)
+++ trunk/tests/language/should-not-work/118-keyword-misuse-stdout.swift 2010-10-19 18:53:24 UTC (rev 3686)
@@ -0,0 +1,14 @@
+ //THIS-SCRIPT-SHOULD-FAIL
+type file {}
+
+
+app (messagefile stdout, messagefile b) greeting(string m) {
+ echo m stdout=@filename(a) stderr=@filename(b);
+}
+
+file e;
+file f;
+
+(e,f) = greeting("hello world");
+
+
More information about the Swift-commit
mailing list