yt-dlp/test/swftests.unused/PrivateCall.as
2021-06-06 00:59:04 +05:30

21 lines
300 B
ActionScript

// input: []
// output: 9
package {
public class PrivateCall {
public static function main():int{
var f:OtherClass = new OtherClass();
return f.func();
}
}
}
class OtherClass {
private function pf():int {
return 9;
}
public function func():int {
return this.pf();
}
}