blob: 64b9bc34b3d10698ce2e114dee8397e0bfaebdb7 [file] [log] [blame]
// This test should not crash.
var caughtReferenceError = false;
try {
try { throw [void 0]; } catch ([{constructor} = new constructor]) { }
} catch (e) {
caughtReferenceError = true;
}
if (!caughtReferenceError)
throw Error("Missing ReferenceError");