diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/swftests/ConstantInt.as | 12 |
1 files changed, 12 insertions, 0 deletions
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; + } +} +} |