tests/pass/hello.lua

changeset 57
3e148db7f933
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/pass/hello.lua	Tue Oct 26 10:43:56 2010 +0100
@@ -0,0 +1,15 @@
+local a, b = "One", "Deux";
+
+function pp()
+	local _b = b;
+	a = "Une"
+	local c = "Trois!";
+	local function b()
+		return a, _b, c;
+	end
+	return b;
+end
+
+print(pp()())
+
+print(a)

mercurial