[swfinterp] Basic support for constants (only ints for now)

This commit is contained in:
Philipp Hagemeister 2014-11-17 07:14:02 +01:00
parent 162f54eca6
commit cd9ad1d7e8
2 changed files with 45 additions and 10 deletions

View file

@ -0,0 +1,12 @@
// input: []
// output: 2
package {
public class ConstantInt {
private static const x:int = 2;
public static function main():int{
return x;
}
}
}