summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug650148.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/basic/bug650148.js')
-rw-r--r--js/src/jit-test/tests/basic/bug650148.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/bug650148.js b/js/src/jit-test/tests/basic/bug650148.js
new file mode 100644
index 000000000..9f6b45548
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug650148.js
@@ -0,0 +1,11 @@
+summary=/(?!AB+D)AB/.exec("AB") + '';
+try {
+ var s = "throw 42";
+} catch (e) {}
+test();
+function test() {
+ [ {0xBe: /l/|| 'Error' ? s++ : summary } ]
+}
+function foo(code)
+ Function(code)();
+foo("for each (y in this);");