aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-11-17 04:27:51 +0100
committerPhilipp Hagemeister <[email protected]>2014-11-17 04:27:51 +0100
commiteb5376044ca2bb86a61c70ce1905992a0e5d25bd (patch)
treef3bab950031f7de9ac4e39502b48b34984ef8d2a /test
parent3cbcff8a2dacf6d4f10f00af36b9761ef833e6ea (diff)
downloadyoutube-dl-eb5376044ca2bb86a61c70ce1905992a0e5d25bd.tar.gz
youtube-dl-eb5376044ca2bb86a61c70ce1905992a0e5d25bd.zip
[swfinterp] Implement equals opcode
Diffstat (limited to 'test')
-rw-r--r--test/swftests/EqualsOperator.as10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/swftests/EqualsOperator.as b/test/swftests/EqualsOperator.as
new file mode 100644
index 000000000..837a69a46
--- /dev/null
+++ b/test/swftests/EqualsOperator.as
@@ -0,0 +1,10 @@
+// input: []
+// output: false
+
+package {
+public class EqualsOperator {
+ public static function main():Boolean{
+ return 1 == 2;
+ }
+}
+}