]> Raphaƫl G. Git Repositories - youtubedl/blob - test/swftests/PrivateCall.as
New upstream version 2019.07.02
[youtubedl] / 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 }