PrivateVoidCall.as 329 B

1234567891011121314151617181920212223
  1. // input: []
  2. // output: 9
  3. package {
  4. public class PrivateVoidCall {
  5. public static function main():int{
  6. var f:OtherClass = new OtherClass();
  7. f.func();
  8. return 9;
  9. }
  10. }
  11. }
  12. class OtherClass {
  13. private function pf():void {
  14. ;
  15. }
  16. public function func():void {
  17. this.pf();
  18. }
  19. }