1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-15 22:24:32 +01:00
youtube-dl/test/swftests/ClassCall.as

18 lines
271 B
ActionScript
Raw Normal View History

// input: []
// output: 121
package {
public class ClassCall {
public static function main():int{
var f:OtherClass = new OtherClass();
return f.func(100,20);
}
}
}
class OtherClass {
public function func(x: int, y: int):int {
return x+y+1;
}
}