js/src/jit-test/tests/basic/bug650148.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/basic/bug650148.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +summary=/(?!AB+D)AB/.exec("AB") + '';
     1.5 +try {
     1.6 +  var s = "throw 42";
     1.7 +} catch (e) {}
     1.8 +test();
     1.9 +function test() {
    1.10 +  [ {0xBe: /l/|| 'Error' ? s++ : summary } ]
    1.11 +}
    1.12 +function foo(code)
    1.13 +        Function(code)();
    1.14 +foo("for each (y in this);");

mercurial