summaryrefslogtreecommitdiffhomepage
path: root/test/swftests/DictCall.as
blob: c2d174cc2e07630ea4dd084ab3b9ac35daa18eba (plain)
1
2
3
4
5
6
7
8
9
10
// input: [{"x": 1, "y": 2}]
// output: 3

package {
public class DictCall {
    public static function main(d:Object):int{
        return d.x + d.y;
    }
}
}