diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-07-20 00:03:54 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-07-20 00:03:54 +0200 |
commit | e75c24e88907f329c57cf05d729dbf599349bb50 (patch) | |
tree | 9a414da9c75e08fbf948a69ebdd5084994160f77 /test/swftests/StaticAssignment.as | |
parent | 0cb2056304178ae8944e84c5bc72f96102291a12 (diff) |
[swfinterp] Extend tests and fix parsing
Diffstat (limited to 'test/swftests/StaticAssignment.as')
-rw-r--r-- | test/swftests/StaticAssignment.as | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/swftests/StaticAssignment.as b/test/swftests/StaticAssignment.as new file mode 100644 index 000000000..b061c219d --- /dev/null +++ b/test/swftests/StaticAssignment.as @@ -0,0 +1,13 @@ +// input: [1] +// output: 1 + +package { +public class StaticAssignment { + public static var v:int; + + public static function main(a:int):int{ + v = a; + return v; + } +} +} |