summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug841718.js
blob: d8abc66fedd08849b601d1ba6dbf3c7b3781e9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Don't assert in the decompiler.
function f() {
    var o = null;

    try {
	delete o.prop;
    } catch(e) {}

    try {
	delete o[1];
    } catch(e) {}

    try {
	o[{}]++;
    } catch(e) {}
}
f();