]> git.bitcoin.ninja Git - youtube-dl/blob - test/swftests/ClassCall.as
[update] Fix updating via symlinks (closes #23991)
[youtube-dl] / 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 }