aboutsummaryrefslogtreecommitdiffstats
path: root/test/swftests/ConstArrayAccess.as
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-06-09 12:23:42 -0500
committerJesús <heckyel@hyperbola.info>2021-06-09 12:23:42 -0500
commitff87b367dce059d04f3f1dc11000553a065f8f0f (patch)
treecac7ecfc0ff70c036c84e22acc8dc10279d22f06 /test/swftests/ConstArrayAccess.as
parentc2350cac243ba1ec1586fe85b0d62d1b700047a2 (diff)
downloadhypervideo-pre-ff87b367dce059d04f3f1dc11000553a065f8f0f.tar.lz
hypervideo-pre-ff87b367dce059d04f3f1dc11000553a065f8f0f.tar.xz
hypervideo-pre-ff87b367dce059d04f3f1dc11000553a065f8f0f.zip
brand
Diffstat (limited to 'test/swftests/ConstArrayAccess.as')
-rw-r--r--test/swftests/ConstArrayAccess.as18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/swftests/ConstArrayAccess.as b/test/swftests/ConstArrayAccess.as
deleted file mode 100644
index 07dc3f460..000000000
--- a/test/swftests/ConstArrayAccess.as
+++ /dev/null
@@ -1,18 +0,0 @@
-// input: []
-// output: 4
-
-package {
-public class ConstArrayAccess {
- private static const x:int = 2;
- private static const ar:Array = ["42", "3411"];
-
- public static function main():int{
- var c:ConstArrayAccess = new ConstArrayAccess();
- return c.f();
- }
-
- public function f(): int {
- return ar[1].length;
- }
-}
-}