about summary refs log tree commit diff
path: root/test/swftests/ClassCall.as
blob: aef58daf37354718d0150867a9539158622a8392 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// input: []
// output: 121

package {
public class ClassCall {
    public static function main():int{
    	var f:OtherClass = new OtherClass();
        return f.func(100,20);
    }
}
}

class OtherClass {
	public function func(x: int, y: int):int {
		return x+y+1;
	}
}