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

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Mon Mar 9 11:06:24 CDT 2009


Author: hategan
Date: 2009-03-09 11:06:24 -0500 (Mon, 09 Mar 2009)
New Revision: 2667

Added:
   trunk/tests/language-behaviour/0026-function-param.swift
Log:
added test for nested procedure invocation

Added: trunk/tests/language-behaviour/0026-function-param.swift
===================================================================
--- trunk/tests/language-behaviour/0026-function-param.swift	                        (rev 0)
+++ trunk/tests/language-behaviour/0026-function-param.swift	2009-03-09 16:06:24 UTC (rev 2667)
@@ -0,0 +1,7 @@
+(int r) add(int a, int b) { 
+    r = a + b;
+}
+
+trace(add(1, 1));
+
+trace(add(add(1, 1), add(2, 2)));




More information about the Swift-commit mailing list