X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Fswftests%2FClassConstruction.as;fp=test%2Fswftests%2FClassConstruction.as;h=436479f8fc3ce28794f857f3427328347a6f651a;hb=70f767dc65189df0118d319d62385e54bd9bb03e;hp=0000000000000000000000000000000000000000;hpb=e75c24e88907f329c57cf05d729dbf599349bb50;p=youtube-dl diff --git a/test/swftests/ClassConstruction.as b/test/swftests/ClassConstruction.as new file mode 100644 index 000000000..436479f8f --- /dev/null +++ b/test/swftests/ClassConstruction.as @@ -0,0 +1,15 @@ +// input: [] +// output: 0 + +package { +public class ClassConstruction { + public static function main():int{ + var f:Foo = new Foo(); + return 0; + } +} +} + +class Foo { + +}