]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - test/swftests/StaticAssignment.as
Imported Upstream version 2014.08.05
[youtubedl] / test / swftests / StaticAssignment.as
diff --git a/test/swftests/StaticAssignment.as b/test/swftests/StaticAssignment.as
new file mode 100644 (file)
index 0000000..b061c21
--- /dev/null
@@ -0,0 +1,13 @@
+// input: [1]
+// output: 1
+
+package {
+public class StaticAssignment {
+       public static var v:int;
+
+    public static function main(a:int):int{
+        v = a;
+        return v;
+    }
+}
+}