diff options
author | Philipp Hagemeister <[email protected]> | 2014-07-20 00:25:58 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-07-20 00:25:58 +0200 |
commit | 70f767dc65189df0118d319d62385e54bd9bb03e (patch) | |
tree | 48391d1381cf11a81e7537c22ca05faacca02b43 /test/swftests | |
parent | e75c24e88907f329c57cf05d729dbf599349bb50 (diff) | |
download | youtube-dl-70f767dc65189df0118d319d62385e54bd9bb03e.tar.gz youtube-dl-70f767dc65189df0118d319d62385e54bd9bb03e.zip |
[swfinterp] Add support for multiple classes
Diffstat (limited to 'test/swftests')
-rw-r--r-- | test/swftests/ClassConstruction.as | 15 |
1 files changed, 15 insertions, 0 deletions
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 { + +} |