js/src/jit-test/tests/auto-regress/bug686179.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug686179.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,15 @@
     1.4 +// Binary: cache/js-dbg-64-b31b25125429-linux
     1.5 +// Flags: -m -n -a
     1.6 +//
     1.7 +
     1.8 +(function () {
     1.9 +  assertEquals = function assertEquals(expected, found, name_opt) {  };
    1.10 +  assertTrue = function assertTrue(value, name_opt) {  };
    1.11 +})();
    1.12 +function f0() {}
    1.13 +function f1(x) {}
    1.14 +function test(f) {
    1.15 +  assertTrue(null === (assertEquals).arguments);
    1.16 +}
    1.17 +test(f0);
    1.18 +test(f1);

mercurial