]> Raphaƫl G. Git Repositories - youtubedl/blob - test/swftests/ClassCall.as
debian/control: Mark compliance with Debian policy 4.2.1.
[youtubedl] / test / swftests / ClassCall.as
1 // input: []
2 // output: 121
3
4 package {
5 public class ClassCall {
6 public static function main():int{
7 var f:OtherClass = new OtherClass();
8 return f.func(100,20);
9 }
10 }
11 }
12
13 class OtherClass {
14 public function func(x: int, y: int):int {
15 return x+y+1;
16 }
17 }