youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

MemberAssignment.as (384B)


      1 // input: [1]
      2 // output: 2
      3 
      4 package {
      5 public class MemberAssignment {
      6     public var v:int;
      7 
      8     public function g():int {
      9         return this.v;
     10     }
     11 
     12     public function f(a:int):int{
     13         this.v = a;
     14         return this.v + this.g();
     15     }
     16 
     17     public static function main(a:int): int {
     18         var v:MemberAssignment = new MemberAssignment();
     19         return v.f(a);
     20     }
     21 }
     22 }