]> gitweb @ CieloNegro.org - youtube-dl.git/blob - test/swftests/PrivateCall.as
[americastestkitchen] fix extraction
[youtube-dl.git] / test / swftests / PrivateCall.as
1 // input: []
2 // output: 9
3
4 package {
5 public class PrivateCall {
6     public static function main():int{
7         var f:OtherClass = new OtherClass();
8         return f.func();
9     }
10 }
11 }
12
13 class OtherClass {
14         private function pf():int {
15                 return 9;
16         }
17
18         public function func():int {
19                 return this.pf();
20         }
21 }