diff options
author | Philipp Hagemeister <[email protected]> | 2014-11-17 03:46:23 +0100 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-11-17 03:46:23 +0100 |
commit | 4baafa229d5e013a62d636fa60920cdc1a876a5a (patch) | |
tree | 1de90482af7cbbdd05774a302899695976fcd6b2 /test/swftests | |
parent | 7f3e33a1475cd4ac11c73108e03d3405b86262b8 (diff) | |
download | youtube-dl-4baafa229d5e013a62d636fa60920cdc1a876a5a.tar.gz youtube-dl-4baafa229d5e013a62d636fa60920cdc1a876a5a.zip |
[swfinterp] Intepret more multinames
Diffstat (limited to 'test/swftests')
-rw-r--r-- | test/swftests/DictCall.as | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/swftests/DictCall.as b/test/swftests/DictCall.as new file mode 100644 index 000000000..236efd848 --- /dev/null +++ b/test/swftests/DictCall.as @@ -0,0 +1,10 @@ +// input: [{"x": 1, "y": 2}] +// output: 3 + +package { +public class DictCall { + public static function main(d:Object):int{ + return d.x + d.y; + } +} +} |