blob: 39a573acaf6b00d47d3efe9631b06a48cbbf193a [file] [log] [blame]
// This test should not crash.
var caughtReferenceError = false;
try {
try { throw []; } catch ({c = new class extends C {}, constructor: C}) { }
} catch (e) {
caughtReferenceError = true;
}
if (!caughtReferenceError)
throw Error("Missing ReferenceError");