summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-636394.js
blob: d1a249786b3ae58b27cb90b4f2dbd46e91e8d80f (plain)
1
2
3
4
5
6
7
8
9
10
// Any copyright is dedicated to the Public Domain.
// http://creativecommons.org/licenses/publicdomain/

var a = {p0: function () {}};
var b = /f/;
b.__proto__ = a;
b.watch("p0", function () {});
b.p0;

reportCompare(0, 0, "ok");