X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=test%2Fswftests%2FConstantInt.as;fp=test%2Fswftests%2FConstantInt.as;h=e0bbb6166f4d3465efb167c23c9368111e476f26;hb=cd9ad1d7e8970c4e5d468d873ede88d26fd99bd2;hp=0000000000000000000000000000000000000000;hpb=162f54eca6b9c0dc2e4fe36bd2905190ba0185fa;p=youtube-dl diff --git a/test/swftests/ConstantInt.as b/test/swftests/ConstantInt.as new file mode 100644 index 000000000..e0bbb6166 --- /dev/null +++ b/test/swftests/ConstantInt.as @@ -0,0 +1,12 @@ +// input: [] +// output: 2 + +package { +public class ConstantInt { + private static const x:int = 2; + + public static function main():int{ + return x; + } +} +}