diff options
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; + } +} +} |